fix fractions
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -244,7 +244,7 @@ hexint | ... | @@ -244,7 +244,7 @@ hexint |
244 | / "0X" hexDigits:hexDigit+ { return '0x' + hexDigits.join(''); } | 244 | / "0X" hexDigits:hexDigit+ { return '0x' + hexDigits.join(''); } |
245 | 245 | ||
246 | frac | 246 | frac |
247 | = dec:"." digits:digits { return parseFloat(dec + digits.join('')); } | 247 | = dec:"." digits:digits { return dec + digits.join(''); } |
248 | 248 | ||
249 | digits | 249 | digits |
250 | = digit+ | 250 | = digit+ | ... | ... |
-
Please register or sign in to post a comment