diff options
Diffstat (limited to 'py/parse2.c')
-rw-r--r-- | py/parse2.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/py/parse2.c b/py/parse2.c index 0394340a7b..bcd35bd9d0 100644 --- a/py/parse2.c +++ b/py/parse2.c @@ -36,6 +36,8 @@ #include "py/parsenum.h" #include "py/smallint.h" +#if MICROPY_ENABLE_COMPILER && MICROPY_USE_SMALL_HEAP_COMPILER + #define RULE_ACT_ARG_MASK (0x0f) #define RULE_ACT_KIND_MASK (0x30) #define RULE_ACT_ALLOW_IDENT (0x40) @@ -1445,3 +1447,5 @@ void mp_parse_tree_clear(mp_parse_tree_t *tree) { chunk = next; } } + +#endif // MICROPY_ENABLE_COMPILER && MICROPY_USE_SMALL_HEAP_COMPILER |