Merge branch 'master' into harmony
This commit is contained in:
@@ -501,6 +501,8 @@ function tokenizer($TEXT, filename, html5_comments, shebang) {
|
||||
break;
|
||||
} else if (ch == "\\") {
|
||||
prev_backslash = true;
|
||||
} else if ("\r\n\u2028\u2029".indexOf(ch) >= 0) {
|
||||
parse_error("Unexpected line terminator");
|
||||
} else {
|
||||
regexp += ch;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user