diff options
Diffstat (limited to 'src/cratera/luatokens.lua')
-rw-r--r-- | src/cratera/luatokens.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cratera/luatokens.lua b/src/cratera/luatokens.lua index 632cf27..6958171 100644 --- a/src/cratera/luatokens.lua +++ b/src/cratera/luatokens.lua @@ -641,7 +641,7 @@ defs.in_integer = setmetatable(selfify({ -- TODO figure out best order for these checks if rule == "digit" or token == "." or rule == "hexdigit" or rule == "into_hex" or rule == "exp" then return end state[#state+1] = state[STATE].numtype - state[#state+1] = tonumber(table.concat(state[COLLECT])) -- TODO maybe not the best option + state[#state+1] = table.concat(state[COLLECT]) -- TODO maybe not the best option state[COLLECT] = nil end, numtype = TK_INT |