Skip to content

Commit

Permalink
Sync
Browse files Browse the repository at this point in the history
  • Loading branch information
justinethier committed Mar 14, 2024
1 parent ad9b5d5 commit 9e34922
Show file tree
Hide file tree
Showing 3 changed files with 2,083 additions and 2,047 deletions.
2 changes: 2 additions & 0 deletions runtime.c
Original file line number Diff line number Diff line change
Expand Up @@ -7538,6 +7538,8 @@ static int _read_is_numeric(const char *tok, int len)
{
return (len &&
((isdigit(tok[0])) ||
(((len == 2) && tok[1] == 'i')
&& (tok[0] == '-' || tok[0] == '+')) ||
((len > 1) && tok[0] == '.' && isdigit(tok[1])) ||
((len > 1) && (tok[1] == '.' || isdigit(tok[1]))
&& (tok[0] == '-' || tok[0] == '+'))));
Expand Down
Loading

0 comments on commit 9e34922

Please sign in to comment.