Index: src/parser.cc |
diff --git a/src/parser.cc b/src/parser.cc |
index b54172f72c21cc6ccf320ed04877227804a5d134..fb07c2acfad62671275bb25ffaf8aa8fe0fb3755 100644 |
--- a/src/parser.cc |
+++ b/src/parser.cc |
@@ -1425,6 +1425,9 @@ Statement* Parser::ParseStatementListItem(bool* ok) { |
return ParseVariableStatement(kStatementListItem, NULL, ok); |
} |
break; |
+ case Token::IDENTIFIER: |
+ CheckNextEscapedKeyword(ok); |
adamk
2015/11/03 23:00:57
You can CHECK_OK, and then please break.
caitp (gmail)
2015/11/04 04:49:24
CHECK_OK means moving the macro definition here, b
|
+ if (!*ok) return nullptr; |
default: |
break; |
} |