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.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/MoonP/moon_ast.h b/src/MoonP/moon_ast.h
index dfe70ea..7e480b5 100644
--- a/src/MoonP/moon_ast.h
+++ b/src/MoonP/moon_ast.h
@@ -35,15 +35,7 @@ public: \
35}; \ 35}; \
36template<> constexpr int id<type##_t>() { return COUNTER_READ; } 36template<> constexpr int id<type##_t>() { return COUNTER_READ; }
37 37
38AST_LEAF(Decimal) 38AST_LEAF(Num)
39AST_END(Decimal)
40
41AST_LEAF(Integer)
42AST_END(Integer)
43
44AST_NODE(Num)
45 ast_sel<true, Decimal_t, Integer_t> num;
46 AST_MEMBER(Num, &num)
47AST_END(Num) 39AST_END(Num)
48 40
49AST_LEAF(Name) 41AST_LEAF(Name)