mirror of
https://github.com/janet-lang/janet
synced 2026-11-22 15:17:16 +00:00
1 parent
232ea22dc5
commit
805b3bbb88
1 file changed
+2
-1
+2
-1
@@ -291,8 +291,9 @@ int janet_scan_number(
|
||||
if (*str == '.') {
|
||||
if (seenpoint) goto error;
|
||||
seenpoint = 1;
|
||||
} else {
|
||||
seenadigit = 1;
|
||||
}
|
||||
seenadigit = 1;
|
||||
str++;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user