Fix handling of floats with multiple leading zeroes (#4065)
(cherry picked from commit a3500cc33a)
This commit is contained in:
committed by
Daniel Nelson
parent
a877b06d74
commit
29bdb324d6
@@ -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