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:
Ilmir Usmanov
2014-10-08 16:31:50 +04:00
parent f2760fdac6
commit c3f493c693
3 changed files with 28 additions and 11 deletions
+1 -1
View File
@@ -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;