From 58ebde46646dd49d22b2accfa9c7a78e15921e48 Mon Sep 17 00:00:00 2001 From: Damien George Date: Wed, 21 May 2014 20:32:59 +0100 Subject: Tidy up some configuration options. MP_ALLOC_* -> MICROPY_ALLOC_* MICROPY_PATH_MAX -> MICROPY_ALLOC_PATH_MAX MICROPY_ENABLE_REPL_HELPERS -> MICROPY_HELPER_REPL MICROPY_ENABLE_LEXER_UNIX -> MICROPY_HELPER_LEXER_UNIX MICROPY_EXTRA_* -> MICROPY_PORT_* See issue #35. --- py/lexerunix.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'py/lexerunix.c') diff --git a/py/lexerunix.c b/py/lexerunix.c index 4631cacaf7..89dc80b004 100644 --- a/py/lexerunix.c +++ b/py/lexerunix.c @@ -27,7 +27,7 @@ #include "misc.h" #include "mpconfig.h" -#if MICROPY_ENABLE_LEXER_UNIX +#if MICROPY_HELPER_LEXER_UNIX #include #include @@ -81,4 +81,4 @@ mp_lexer_t *mp_lexer_new_from_file(const char *filename) { return mp_lexer_new(qstr_from_str(filename), fb, (mp_lexer_stream_next_char_t)file_buf_next_char, (mp_lexer_stream_close_t)file_buf_close); } -#endif // MICROPY_ENABLE_LEXER_UNIX +#endif // MICROPY_HELPER_LEXER_UNIX -- cgit v1.2.3