From 772e7a9755d1e7b83cfcd3d979e3dcafbbce0078 Mon Sep 17 00:00:00 2001 From: SoniEx2 Date: Mon, 8 Apr 2019 14:48:31 -0300 Subject: long comments work now --- test.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test.lua') 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 -- cgit 1.4.1