diff options
Diffstat (limited to 'examples/typedlua/test.lua')
-rwxr-xr-x | examples/typedlua/test.lua | 9 |
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 | ||
403 | s = [=[ | 403 | s = [=[ |
404 | --[[ testing | 404 | --[[ |
405 | |||
406 | testing | ||
405 | unfinished | 407 | unfinished |
408 | |||
406 | comment | 409 | comment |
407 | ]=] | 410 | ]=] |
408 | --[=[ | 411 | --[=[ |
409 | test.lua:3:1: syntax error, unexpected 'comment', expecting '=', ',', 'String', '{', '(', ':', '[', '.' | 412 | test.lua:3:1: syntax error, unexpected 'comment', expecting '=', ',', 'String', '{', '(', ':', '[', '.' |
410 | ]=] | 413 | ]=] |
411 | e = [=[ | 414 | e = [=[ |
412 | test.lua:1:1: unfinished long comment | 415 | test.lua:1:2: unfinished long comment |
413 | ]=] | 416 | ]=] |
414 | 417 | ||
415 | r, m = parse(s) | 418 | r, m = parse(s) |