Commit 7ea39401 authored by Julian Rother's avatar Julian Rother

Fixed json parsing of the number zero

parent c2dac814
......@@ -22,7 +22,7 @@ static char *skip(char *s)
if (*s == '"')
s ++;
}
else if (*s == '-' || (*s >= '1' && *s <= '9'))
else if (*s == '-' || (*s >= '0' && *s <= '9'))
for (s ++; (*s >= '0' && *s <= '9') || *s == 'e' || *s == 'E' || *s == '.' ||
*s == '-' || *s == '+'; s ++);
else if (*s == '[')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment