Fixed invalid number literal parsing (#473)
* Fixed invalid number literal parsing * Don't ignore period or E characters after octal numbers cherry-pick fix from acorn * Fix tests
This commit is contained in:
committed by
Daniel Tschinder
parent
406c3dabc0
commit
b98f463aa7
1
test/fixtures/core/uncategorised/554/actual.js
vendored
Normal file
1
test/fixtures/core/uncategorised/554/actual.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
var a = 0123.;
|
||||
3
test/fixtures/core/uncategorised/554/options.json
vendored
Normal file
3
test/fixtures/core/uncategorised/554/options.json
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"throws": "Unexpected token (1:13)"
|
||||
}
|
||||
Reference in New Issue
Block a user