diff options
author | Li Jin <dragon-fly@qq.com> | 2019-10-07 20:05:59 +0800 |
---|---|---|
committer | Li Jin <dragon-fly@qq.com> | 2019-10-07 20:05:59 +0800 |
commit | 726fee3152c81fdac7e3ad5f663bfbea8f99ddd8 (patch) | |
tree | 203066824db5ad76520ed743c2af4005237d0078 /MoonParser/moon_ast.h | |
parent | 055fcb596781a8488afeb0030e9ef4295e3d7017 (diff) | |
download | yuescript-726fee3152c81fdac7e3ad5f663bfbea8f99ddd8.tar.gz yuescript-726fee3152c81fdac7e3ad5f663bfbea8f99ddd8.tar.bz2 yuescript-726fee3152c81fdac7e3ad5f663bfbea8f99ddd8.zip |
fixing compile issues.
Diffstat (limited to 'MoonParser/moon_ast.h')
-rw-r--r-- | MoonParser/moon_ast.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/MoonParser/moon_ast.h b/MoonParser/moon_ast.h index d4ade53..795c0c8 100644 --- a/MoonParser/moon_ast.h +++ b/MoonParser/moon_ast.h | |||
@@ -477,11 +477,9 @@ AST_LEAF(BreakLoop, "BreakLoop"_id) | |||
477 | AST_END(BreakLoop) | 477 | AST_END(BreakLoop) |
478 | 478 | ||
479 | AST_NODE(Statement, "Statement"_id) | 479 | AST_NODE(Statement, "Statement"_id) |
480 | ast_ptr<ast_node> content; /* | 480 | ast_sel<Import_t, While_t, For_t, ForEach_t, |
481 | Import_t | While_t | With_t | For_t | ForEach_t | | 481 | Return_t, Local_t, Export_t, BreakLoop_t, |
482 | Return_t | Local_t | Export_t | BreakLoop_t | | 482 | Assignment_t, ExpList_t> content; |
483 | Assignment_t | ExpList_t | ||
484 | */ | ||
485 | ast_ptr<statement_appendix_t, true> appendix; | 483 | ast_ptr<statement_appendix_t, true> appendix; |
486 | AST_END(Statement) | 484 | AST_END(Statement) |
487 | 485 | ||