diff options
Diffstat (limited to 'script/parser/ast.lua')
-rw-r--r-- | script/parser/ast.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/parser/ast.lua b/script/parser/ast.lua index 40b5788e..bd8a66cf 100644 --- a/script/parser/ast.lua +++ b/script/parser/ast.lua @@ -547,7 +547,7 @@ local Defs = { local n = tonumber(number) if n then State.LastNumber = { - type = 'number', + type = mathType(n) == 'integer' and 'integer' or 'number', start = start, finish = finish - 1, [1] = n, |