We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82233bf commit b27ce74Copy full SHA for b27ce74
acorn-loose/src/tokenize.js
@@ -58,7 +58,7 @@ lp.readToken = function() {
58
} else {
59
replace = false
60
}
61
- } else if (/invalid (unicode|regexp|number)|expecting unicode|octal literal|is reserved|directly after number|expected number in radix/i.test(msg)) {
+ } else if (/invalid (unicode|regexp|number)|expecting unicode|octal literal|is reserved|directly after number|expected number in radix|numeric separator/i.test(msg)) {
62
while (pos < this.input.length && !isSpace(this.input.charCodeAt(pos))) ++pos
63
} else if (/character escape|expected hexadecimal/i.test(msg)) {
64
while (pos < this.input.length) {
0 commit comments