This commit is contained in:
Byron Luk
2018-10-12 07:28:15 -07:00
committed by Brian Ng
parent 5080059138
commit 929567523c
6 changed files with 1372 additions and 32 deletions

View File

@@ -1087,6 +1087,7 @@ export default class Tokenizer extends LocationParser {
(ch === charCodes.lineSeparator || ch === charCodes.paragraphSeparator)
) {
++this.state.pos;
++this.state.curLine;
} else if (isNewLine(ch)) {
this.raise(this.state.start, "Unterminated string constant");
} else {