From dfd4e3b2b2abc0137d26ed3df303a398741bb6a0 Mon Sep 17 00:00:00 2001 From: Li Jin Date: Fri, 11 Sep 2020 14:55:22 +0800 Subject: add implicit objects support while writing tables. --- src/MoonP/moon_ast.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/MoonP/moon_ast.h') diff --git a/src/MoonP/moon_ast.h b/src/MoonP/moon_ast.h index 91d7614..16f7801 100644 --- a/src/MoonP/moon_ast.h +++ b/src/MoonP/moon_ast.h @@ -527,9 +527,15 @@ AST_NODE(TableLit) AST_MEMBER(TableLit, &sep, &values) AST_END(TableLit) +AST_NODE(TableBlockIndent) + ast_ptr sep; + ast_sel_list values; + AST_MEMBER(TableBlockIndent, &sep, &values) +AST_END(TableBlockIndent) + AST_NODE(TableBlock) ast_ptr sep; - ast_sel_list values; + ast_sel_list values; AST_MEMBER(TableBlock, &sep, &values) AST_END(TableBlock) -- cgit v1.2.3-55-g6feb