diff --git a/macro/lexer.lua b/macro/lexer.lua index 11c4907..88d187d 100644 --- a/macro/lexer.lua +++ b/macro/lexer.lua @@ -53,8 +53,8 @@ function lexer.init () OT = OT + P(ex) end end - local operator = token('operator', OT + P '.' + P '~=' + P '<=' + P '>=' + P '...' - + P '..' + S '+-*/%^#=<>;:,.{}[]()') + local operator = token('operator', OT + '~=' + '<=' + '>=' + '...' + + '..' + S '+-*/%^#=<>;:,.{}[]()') -- identifiers local ident = token('iden', idsafe * (idsafe + digit) ^ 0)