diff options
author | SoniEx2 <endermoneymod@gmail.com> | 2019-04-08 14:48:31 -0300 |
---|---|---|
committer | SoniEx2 <endermoneymod@gmail.com> | 2019-04-08 14:48:31 -0300 |
commit | 772e7a9755d1e7b83cfcd3d979e3dcafbbce0078 (patch) | |
tree | 4db8615757d21c79fa987676e9ca712156be25b0 /test.lua | |
parent | f56e1bd7e7f9a8d0a55146edba4e7c2ee071487a (diff) |
long comments work now
Diffstat (limited to 'test.lua')
-rw-r--r-- | test.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test.lua b/test.lua index a8a830d..4e9b132 100644 --- a/test.lua +++ b/test.lua @@ -385,6 +385,7 @@ do -- long comments local luatokens = require "luatokens" local tokens = luatokens.defs local state, err, etoken, estate = parser.parse(tokens, [==[--[[ + --]]]==]) local case = case() if not state then @@ -396,7 +397,7 @@ do -- long comments print(case, "---- OUT TOKENS ----") else assert(table.remove(state, 1) == nil) - assert(state.line == 2) + assert(state.line == 3) end end -- long comments |