commit | 92c06561a3e657924b77aa53725529daddafb343 | [log] [tgz] |
---|---|---|
author | Damien <damien.p.george@gmail.com> | Tue Oct 22 22:32:27 2013 +0100 |
committer | Damien <damien.p.george@gmail.com> | Tue Oct 22 22:32:27 2013 +0100 |
tree | e5e5a1d8ce294c21eb6c926c42280eab1ed8aed5 | |
parent | 9d63932b3d82752e83281dacead20d412b9e34bb [diff] [blame] |
Improve REPL compount statement detection.
diff --git a/py/lexer.c b/py/lexer.c index 88bc0a1..cd2e05e 100644 --- a/py/lexer.c +++ b/py/lexer.c
@@ -10,6 +10,9 @@ #define TAB_SIZE (8) +// TODO seems that CPython allows NULL byte in the input stream +// don't know if that's intentional or not, but we don't allow it + struct _py_lexer_t { const char *name; // name of source void *stream_data; // data for stream