Some minor fixes in parser: Do not warn on escape sequences. Allow 'new' operator without parens. Fix 'var' parsing in preparser. Fix a test.
This commit is contained in:
@@ -777,7 +777,7 @@ parse_string (void)
|
||||
/* Only single escape character is allowed. */
|
||||
if (LA (1) == 'x' || LA (1) == 'u' || __isdigit (LA (1)))
|
||||
{
|
||||
PARSE_WARN ("Escape sequences are ignored yet", token_start - buffer_start);
|
||||
// PARSE_WARN ("Escape sequences are ignored yet", token_start - buffer_start);
|
||||
consume_char ();
|
||||
consume_char ();
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user