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
d1a5220b89
commit
00d6db9fbb
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