summaryrefslogtreecommitdiff
path: root/stm/main.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-01-16 22:09:13 +0000
committerDamien George <damien.p.george@gmail.com>2014-01-16 22:09:13 +0000
commit8161a10de1011f2e8cf4e4b0c89b7a25db1631a0 (patch)
treef9df044ba9f5fd958a15118fbbf62f8f83348c38 /stm/main.c
parenteea2eb1bb74c59e80deb14872a0aa10d6a69a304 (diff)
stm: Add stm import support.
Diffstat (limited to 'stm/main.c')
-rw-r--r--stm/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/stm/main.c b/stm/main.c
index d8649f579..4b6aaf76f 100644
--- a/stm/main.c
+++ b/stm/main.c
@@ -455,8 +455,7 @@ void do_repl(void) {
}
bool do_file(const char *filename) {
- mp_lexer_file_buf_t fb;
- mp_lexer_t *lex = mp_lexer_new_from_file(filename, &fb);
+ mp_lexer_t *lex = mp_lexer_new_from_file(filename);
if (lex == NULL) {
printf("could not open file '%s' for reading\n", filename);