Improve REPL detecting when input needs to continue.
Full CPython compatibility with this requires actually parsing the
input so far collected, and if it fails parsing due to lack of tokens,
then continue collecting input. It's not worth doing it this way. Not
having compatibility at this level does not hurt the goals of Micro
Python.
diff --git a/py/repl.h b/py/repl.h
index 23259fa..cba77aa 100644
--- a/py/repl.h
+++ b/py/repl.h
@@ -1,3 +1,3 @@
#if MICROPY_ENABLE_REPL_HELPERS
-bool mp_repl_is_compound_stmt(const char *line);
+bool mp_repl_continue_with_input(const char *input);
#endif