mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-19 05:39:17 +02:00
Add code change back
This commit is contained in:
parent
0a062177f7
commit
8e74c0409e
1 changed files with 2 additions and 0 deletions
|
@ -7538,6 +7538,8 @@ static int _read_is_numeric(const char *tok, int len)
|
||||||
{
|
{
|
||||||
return (len &&
|
return (len &&
|
||||||
((isdigit(tok[0])) ||
|
((isdigit(tok[0])) ||
|
||||||
|
(((len == 2) && tok[1] == 'i')
|
||||||
|
&& (tok[0] == '-' || tok[0] == '+')) ||
|
||||||
((len > 1) && tok[0] == '.' && isdigit(tok[1])) ||
|
((len > 1) && tok[0] == '.' && isdigit(tok[1])) ||
|
||||||
((len > 1) && (tok[1] == '.' || isdigit(tok[1]))
|
((len > 1) && (tok[1] == '.' || isdigit(tok[1]))
|
||||||
&& (tok[0] == '-' || tok[0] == '+'))));
|
&& (tok[0] == '-' || tok[0] == '+'))));
|
||||||
|
|
Loading…
Add table
Reference in a new issue