Skip to content

Commit

Permalink
Add code change back
Browse files Browse the repository at this point in the history
  • Loading branch information
justinethier committed Apr 23, 2024
1 parent 0a06217 commit 8e74c04
Showing 1 changed file with 2 additions and 0 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

0 comments on commit 8e74c04

Please sign in to comment.