mirror of https://github.com/lukechilds/node.git
Browse Source
Illegal tokens are only recoverable in string literals, RegExp literals, and block comments. If not in one of these constructs, immediately return an error rather than giving the user false hope by giving them a chance to try to recover. PR-URL: https://github.com/nodejs/node/pull/7104 Fixes: https://github.com/nodejs/node/issues/3611 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>v6.x
committed by
Evan Lucas
2 changed files with 19 additions and 3 deletions
Loading…
Reference in new issue