summaryrefslogtreecommitdiffstatshomepage
path: root/py/lexer.c
diff options
context:
space:
mode:
Diffstat (limited to 'py/lexer.c')
-rw-r--r--py/lexer.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/py/lexer.c b/py/lexer.c
index 88bc0a1aae..cd2e05ece0 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