diff --git a/lips/Lexer.lua b/lips/Lexer.lua index ed7c738..ff7318c 100644 --- a/lips/Lexer.lua +++ b/lips/Lexer.lua @@ -410,7 +410,7 @@ function Lexer:lex(_yield) if self.chr == '@' then -- old syntax; nothing to do here else - buff = self:read_chars('[^\n]') + buff = self:read_chars('[^;\n]') yield('EXPR', buff) end elseif self.chr == ']' then