Chromium Code Reviews| Index: runtime/vm/parser.h |
| diff --git a/runtime/vm/parser.h b/runtime/vm/parser.h |
| index 13674985e6c5f2e1d0f476ca9b18de48534b6224..78d5261e207e7bc18c167835e16f74494db1a5a2 100644 |
| --- a/runtime/vm/parser.h |
| +++ b/runtime/vm/parser.h |
| @@ -770,6 +770,10 @@ class Parser : public ValueObject { |
| // global variables. |
| bool is_top_level_; |
| + // await_is_keyword_ is true if we are parsing an async function. In this |
| + // context async is not treated as identifier but as primary. |
|
hausner
2014/08/26 22:48:06
as a keyword.
Michael Lippautz (Google)
2014/08/26 23:01:44
Done.
|
| + bool await_is_keyword_; |
| + |
| // The member currently being parsed during "top level" parsing. |
| MemberDesc* current_member_; |