diff options
| author | gingerBill <bill@gingerbill.org> | 2022-07-16 17:36:03 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2022-07-16 17:36:03 +0100 |
| commit | 041625381cfd6236de5bc5fea3a398123b7328ed (patch) | |
| tree | 4abfec3689e49a93b37ade20dae7500327762914 /src/parser.hpp | |
| parent | 48f56d728b5a3c5b32dc27e144dfb97bb4985ea6 (diff) | |
Fix #1888
Diffstat (limited to 'src/parser.hpp')
| -rw-r--r-- | src/parser.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/parser.hpp b/src/parser.hpp index c167ef6d5..8719b5e56 100644 --- a/src/parser.hpp +++ b/src/parser.hpp @@ -282,6 +282,8 @@ enum StateFlag : u8 { StateFlag_type_assert = 1<<2, StateFlag_no_type_assert = 1<<3, + StateFlag_SelectorCallExpr = 1<<6, + StateFlag_BeenHandled = 1<<7, }; @@ -411,7 +413,7 @@ AST_KIND(_ExprBegin, "", bool) \ Token ellipsis; \ ProcInlining inlining; \ bool optional_ok_one; \ - void *sce_temp_data; \ + bool was_selector; \ }) \ AST_KIND(FieldValue, "field value", struct { Token eq; Ast *field, *value; }) \ AST_KIND(EnumFieldValue, "enum field value", struct { \ |