mirror of
https://github.com/janet-lang/janet
synced 2025-09-04 11:58:05 +00:00
@@ -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