Skip to content
Snippets Groups Projects
Commit 759cc9bc authored by Damien George's avatar Damien George
Browse files

unix-cpy: Fix build due to change in lexer API.

parent a4c52c5a
No related branches found
No related tags found
No related merge requests found
...@@ -49,8 +49,8 @@ void do_file(const char *file) { ...@@ -49,8 +49,8 @@ void do_file(const char *file) {
if (0) { if (0) {
// just tokenise // just tokenise
while (!mp_lexer_is_kind(lex, MP_TOKEN_END)) { while (lex->tok_kind != MP_TOKEN_END) {
mp_token_show(mp_lexer_cur(lex)); mp_lexer_show_token(lex);
mp_lexer_to_next(lex); mp_lexer_to_next(lex);
} }
mp_lexer_free(lex); mp_lexer_free(lex);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment