Searched refs:parse_error (Results 1 – 2 of 2) sorted by relevance
332 function parse_error(err) { function356 parse_error("Legacy octal literals are not allowed in strict mode");362 parse_error("Invalid syntax: " + num);401 parse_error("Legacy octal escape sequences are not allowed in strict mode");410 parse_error("Invalid hex-character pattern in string");421 else if (NEWLINE_CHARS(ch)) parse_error("Unterminated string constant");466 if (ch != "u") parse_error("Expecting UnicodeEscapeSequence -- uXXXX");468 …if (!is_identifier_char(ch)) parse_error("Unicode char: " + ch.charCodeAt(0) + " is not valid in i…483 parse_error("Unexpected line terminator");504 parse_error(e.message);[all …]
362 function parse_error(err) { function387 …if (next_token.has_directive("use strict")) parse_error("Legacy octal literals are not allowed in …392 if (isNaN(valid)) parse_error("Invalid syntax: " + num);413 if (typeof str != "string") parse_error("Invalid escape sequence: \\" + seq);429 parse_error("Legacy octal escape sequences are not allowed in strict mode");438 else if (NEWLINE_CHARS[ch]) parse_error("Unterminated string constant");482 if (ch != "u") parse_error("Expecting UnicodeEscapeSequence -- uXXXX");484 …if (!is_identifier_char(ch)) parse_error("Unicode char: " + ch.charCodeAt(0) + " is not valid in i…499 parse_error("Unexpected line terminator");522 parse_error(e.message);[all …]