summaryrefslogtreecommitdiff
path: root/src/tparse/tokenize.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/tparse/tokenize.go')
-rw-r--r--src/tparse/tokenize.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tparse/tokenize.go b/src/tparse/tokenize.go
index 11531b5..2231907 100644
--- a/src/tparse/tokenize.go
+++ b/src/tparse/tokenize.go
@@ -33,7 +33,7 @@ func numericLiteral(r *bufio.Reader, line int, char *int) Token {
b := strings.Builder{}
for ; err == nil; run, _, err = r.ReadRune() {
- if (run == '.' || run == ',') && !decimal {
+ if (run == '.') && !decimal {
decimal = true
} else if !unicode.IsNumber(run) {
break