diff options
Diffstat (limited to 'src/MoonP/moon_ast.h')
-rw-r--r-- | src/MoonP/moon_ast.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/MoonP/moon_ast.h b/src/MoonP/moon_ast.h index a614465..8b80af3 100644 --- a/src/MoonP/moon_ast.h +++ b/src/MoonP/moon_ast.h | |||
@@ -407,11 +407,14 @@ AST_NODE(Invoke, "Invoke"_id) | |||
407 | AST_MEMBER(Invoke, &sep, &args) | 407 | AST_MEMBER(Invoke, &sep, &args) |
408 | AST_END(Invoke) | 408 | AST_END(Invoke) |
409 | 409 | ||
410 | AST_LEAF(existential_op, "existential_op"_id) | ||
411 | AST_END(existential_op) | ||
412 | |||
410 | class InvokeArgs_t; | 413 | class InvokeArgs_t; |
411 | 414 | ||
412 | AST_NODE(ChainValue, "ChainValue"_id) | 415 | AST_NODE(ChainValue, "ChainValue"_id) |
413 | ast_ptr<true, Seperator_t> sep; | 416 | ast_ptr<true, Seperator_t> sep; |
414 | ast_sel_list<true, Callable_t, Invoke_t, DotChainItem_t, ColonChainItem_t, Slice_t, Exp_t, String_t, InvokeArgs_t> items; | 417 | ast_sel_list<true, Callable_t, Invoke_t, DotChainItem_t, ColonChainItem_t, Slice_t, Exp_t, String_t, InvokeArgs_t, existential_op_t> items; |
415 | AST_MEMBER(ChainValue, &sep, &items) | 418 | AST_MEMBER(ChainValue, &sep, &items) |
416 | AST_END(ChainValue) | 419 | AST_END(ChainValue) |
417 | 420 | ||