aboutsummaryrefslogtreecommitdiff
path: root/examples/typedlua/test.lua
diff options
context:
space:
mode:
Diffstat (limited to 'examples/typedlua/test.lua')
-rwxr-xr-xexamples/typedlua/test.lua9
1 files changed, 6 insertions, 3 deletions
diff --git a/examples/typedlua/test.lua b/examples/typedlua/test.lua
index ed4e7a1..95474ba 100755
--- a/examples/typedlua/test.lua
+++ b/examples/typedlua/test.lua
@@ -401,15 +401,18 @@ assert(m == e)
401-- unfinished comments 401-- unfinished comments
402 402
403s = [=[ 403s = [=[
404--[[ testing 404--[[
405
406testing
405unfinished 407unfinished
408
406comment 409comment
407]=] 410 ]=]
408--[=[ 411--[=[
409test.lua:3:1: syntax error, unexpected 'comment', expecting '=', ',', 'String', '{', '(', ':', '[', '.' 412test.lua:3:1: syntax error, unexpected 'comment', expecting '=', ',', 'String', '{', '(', ':', '[', '.'
410]=] 413]=]
411e = [=[ 414e = [=[
412test.lua:1:1: unfinished long comment 415test.lua:1:2: unfinished long comment
413]=] 416]=]
414 417
415r, m = parse(s) 418r, m = parse(s)