diff options
Diffstat (limited to 'src/MoonP/moon_ast.h')
-rw-r--r-- | src/MoonP/moon_ast.h | 10 |
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 | }; \ |
36 | template<> constexpr int id<type##_t>() { return COUNTER_READ; } | 36 | template<> constexpr int id<type##_t>() { return COUNTER_READ; } |
37 | 37 | ||
38 | AST_LEAF(Decimal) | 38 | AST_LEAF(Num) |
39 | AST_END(Decimal) | ||
40 | |||
41 | AST_LEAF(Integer) | ||
42 | AST_END(Integer) | ||
43 | |||
44 | AST_NODE(Num) | ||
45 | ast_sel<true, Decimal_t, Integer_t> num; | ||
46 | AST_MEMBER(Num, &num) | ||
47 | AST_END(Num) | 39 | AST_END(Num) |
48 | 40 | ||
49 | AST_LEAF(Name) | 41 | AST_LEAF(Name) |