aboutsummaryrefslogtreecommitdiff
path: root/src/MoonP/moon_ast.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/MoonP/moon_ast.h')
-rw-r--r--src/MoonP/moon_ast.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/MoonP/moon_ast.h b/src/MoonP/moon_ast.h
index 44a55a4..7ef25a9 100644
--- a/src/MoonP/moon_ast.h
+++ b/src/MoonP/moon_ast.h
@@ -98,10 +98,11 @@ AST_NODE(NameList)
98AST_END(NameList) 98AST_END(NameList)
99 99
100class ExpListLow_t; 100class ExpListLow_t;
101class TableBlock_t;
101 102
102AST_NODE(local_values) 103AST_NODE(local_values)
103 ast_ptr<true, NameList_t> nameList; 104 ast_ptr<true, NameList_t> nameList;
104 ast_ptr<false, ExpListLow_t> valueList; 105 ast_sel<false, TableBlock_t, ExpListLow_t> valueList;
105 AST_MEMBER(local_values, &nameList, &valueList) 106 AST_MEMBER(local_values, &nameList, &valueList)
106AST_END(local_values) 107AST_END(local_values)
107 108
@@ -533,7 +534,7 @@ AST_END(ClassDecl)
533 534
534AST_NODE(global_values) 535AST_NODE(global_values)
535 ast_ptr<true, NameList_t> nameList; 536 ast_ptr<true, NameList_t> nameList;
536 ast_ptr<false, ExpListLow_t> valueList; 537 ast_sel<false, TableBlock_t, ExpListLow_t> valueList;
537 AST_MEMBER(global_values, &nameList, &valueList) 538 AST_MEMBER(global_values, &nameList, &valueList)
538AST_END(global_values) 539AST_END(global_values)
539 540