summaryrefslogtreecommitdiffstatshomepage
path: root/unix/lexerunix.c
diff options
context:
space:
mode:
authorDamien <damien.p.george@gmail.com>2013-10-22 16:05:47 +0100
committerDamien <damien.p.george@gmail.com>2013-10-22 16:05:47 +0100
commitd276f6357ea3578d091d971de13cc1ec7d440958 (patch)
treef31ba5fa919e909eccdbb070d8ebbffbf4d64c48 /unix/lexerunix.c
parentf086ecf57c407644f369a35a763b703e31e87736 (diff)
downloadmicropython-d276f6357ea3578d091d971de13cc1ec7d440958.tar.gz
micropython-d276f6357ea3578d091d971de13cc1ec7d440958.zip
Get unix version compling.
Diffstat (limited to 'unix/lexerunix.c')
-rw-r--r--unix/lexerunix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/lexerunix.c b/unix/lexerunix.c
index 617d92bb82..e76d7f2c21 100644
--- a/unix/lexerunix.c
+++ b/unix/lexerunix.c
@@ -36,7 +36,7 @@ py_lexer_t *py_lexer_new_from_str_len(const char *src_name, const char *str, uin
sb->src_beg = str;
sb->src_cur = str;
sb->src_end = str + len;
- return py_lexer_new(src_name, sb, (py_lexer_stream_next_char_t)str_buf_next_char, (py_lexer_stream_free_t)str_buf_free);
+ return py_lexer_new(src_name, sb, (py_lexer_stream_next_char_t)str_buf_next_char, (py_lexer_stream_close_t)str_buf_free);
}
py_lexer_t *py_lexer_new_from_file(const char *filename) {