summaryrefslogtreecommitdiffstatshomepage
path: root/teensy/main.c
diff options
context:
space:
mode:
authorDave Hylands <dhylands@gmail.com>2014-01-08 09:09:47 -0800
committerDave Hylands <dhylands@gmail.com>2014-01-08 09:09:47 -0800
commitee0013d24ee53d7d9af30e08163c746ebfbf6e4a (patch)
tree742f70d2fe9a42b71e0ace2ccf457b3f8f48d45f /teensy/main.c
parentea9e441a75d7ea6633b0ea95b21667c48a6f7b6a (diff)
downloadmicropython-ee0013d24ee53d7d9af30e08163c746ebfbf6e4a.tar.gz
micropython-ee0013d24ee53d7d9af30e08163c746ebfbf6e4a.zip
Update teemsy/Makefile to use py.mk
I also fixed main.c to compile with the new str lexer
Diffstat (limited to 'teensy/main.c')
-rw-r--r--teensy/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/teensy/main.c b/teensy/main.c
index ce6aa029da..fd5aec0459 100644
--- a/teensy/main.c
+++ b/teensy/main.c
@@ -347,8 +347,7 @@ void do_repl(void) {
}
}
- mp_lexer_str_buf_t sb;
- mp_lexer_t *lex = mp_lexer_new_from_str_len("<stdin>", vstr_str(&line), vstr_len(&line), false, &sb);
+ mp_lexer_t *lex = mp_lexer_new_from_str_len("<stdin>", vstr_str(&line), vstr_len(&line), 0);
mp_parse_node_t pn = mp_parse(lex, MP_PARSE_SINGLE_INPUT);
mp_lexer_free(lex);