Chromium Code Reviews| Index: runtime/vm/parser.cc |
| diff --git a/runtime/vm/parser.cc b/runtime/vm/parser.cc |
| index 40bc39ed53be57eda6367f55a1991cca8590682f..8fb402763a18c8065f665e7718c16ce7b785376a 100644 |
| --- a/runtime/vm/parser.cc |
| +++ b/runtime/vm/parser.cc |
| @@ -1696,6 +1696,8 @@ void Parser::SkipToMatching() { |
| is_match = opening_token == Token::kLBRACK; |
| break; |
| case Token::kEOS: |
| + opening_token = token_stack.RemoveLast(); |
| + opening_pos = token_pos_stack.RemoveLast(); |
| unexpected_token_found = true; |
| break; |
| default: |