diff options
author | Damien George <damien.p.george@gmail.com> | 2014-01-07 14:54:15 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-01-07 14:54:15 +0000 |
commit | 136f67523b10d24dd65cb25e49e07a7e4e5341a1 (patch) | |
tree | 95a8e704f85c3813735d287afccc74a6df172f29 /py/repl.c | |
parent | 880ce2d7fabc127b4bca7b6f2ea8b82d0977045f (diff) | |
download | micropython-136f67523b10d24dd65cb25e49e07a7e4e5341a1.tar.gz micropython-136f67523b10d24dd65cb25e49e07a7e4e5341a1.zip |
Factor and simplify Makefile's and mpconfig.
Diffstat (limited to 'py/repl.c')
-rw-r--r-- | py/repl.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1,6 +1,9 @@ #include "misc.h" +#include "mpconfig.h" #include "repl.h" +#if MICROPY_ENABLE_REPL_HELPERS + bool str_startswith_word(const char *str, const char *head) { int i; for (i = 0; str[i] && head[i]; i++) { @@ -42,3 +45,5 @@ bool mp_repl_is_compound_stmt(const char *line) { } return n_paren > 0 || n_brack > 0 || n_brace > 0; } + +#endif // MICROPY_ENABLE_REPL_HELPERS |