diff options
Diffstat (limited to 'py/lexer.c')
-rw-r--r-- | py/lexer.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/py/lexer.c b/py/lexer.c index 6bacb9fc6f..89ecc386e9 100644 --- a/py/lexer.c +++ b/py/lexer.c @@ -31,6 +31,8 @@ #include "py/lexer.h" #include "py/runtime.h" +#if MICROPY_ENABLE_COMPILER + #define TAB_SIZE (8) // TODO seems that CPython allows NULL byte in the input stream @@ -785,3 +787,5 @@ void mp_lexer_show_token(const mp_lexer_t *lex) { printf("\n"); } #endif + +#endif // MICROPY_ENABLE_COMPILER |