Fix handling of floats with multiple leading zeroes (#4065)
This commit is contained in:
@@ -122,7 +122,7 @@ unsigned =
|
||||
( digit | ( non_zero_digit digit* ) );
|
||||
|
||||
number =
|
||||
( integer ( '.' digit* )? ) | ( '.' digit* );
|
||||
'-'? (digit+ ('.' digit*)? | '.' digit+);
|
||||
|
||||
scientific =
|
||||
number 'e'i ["\-+"]? digit+;
|
||||
|
||||
Reference in New Issue
Block a user