summaryrefslogtreecommitdiff
path: root/tnslc/parse
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2022-12-12 00:52:54 -0500
committerKyle Gunger <kgunger12@gmail.com>2022-12-12 00:52:54 -0500
commit069eb0fc2edf1f40fd1fff6584e430c111471859 (patch)
treedc038d5659105b7cc29622e703e86b6fb1729599 /tnslc/parse
parent65d1112cffbe3a761c96b63c74ce0d704f64fb2d (diff)
Evaluation of numeric literals
Diffstat (limited to 'tnslc/parse')
-rw-r--r--tnslc/parse/token.tnsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tnslc/parse/token.tnsl b/tnslc/parse/token.tnsl
index 43a2e80..c2c3d89 100644
--- a/tnslc/parse/token.tnsl
+++ b/tnslc/parse/token.tnsl
@@ -237,7 +237,7 @@
/; loop (i < len dat`) [i++]
/; if (!is_digit(dat`{i}) && dec)
/; if (dat`{i} == '.')
- /; if (flt || !dec)
+ /; if (flt)
;return false
;/
;flt = true