| Index: src/parsing/parser-base.h
|
| diff --git a/src/parsing/parser-base.h b/src/parsing/parser-base.h
|
| index c11381672aa6f705745ea9c6fc6fcfc090a30eda..83c8375197db75ad352b8bbb98a3fd587825ac3c 100644
|
| --- a/src/parsing/parser-base.h
|
| +++ b/src/parsing/parser-base.h
|
| @@ -461,6 +461,10 @@ class ParserBase : public Traits {
|
| return false;
|
| }
|
|
|
| + bool PeekInOrOf() {
|
| + return peek() == Token::IN || PeekContextualKeyword(CStrVector("of"));
|
| + }
|
| +
|
| // Checks whether an octal literal was last seen between beg_pos and end_pos.
|
| // If so, reports an error. Only called for strict mode and template strings.
|
| void CheckOctalLiteral(int beg_pos, int end_pos,
|
|
|