Commit 759cc9bc authored by Damien George's avatar Damien George
Browse files

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

parent a4c52c5a
......@@ -49,8 +49,8 @@ void do_file(const char *file) {
if (0) {
// just tokenise
while (!mp_lexer_is_kind(lex, MP_TOKEN_END)) {
mp_token_show(mp_lexer_cur(lex));
while (lex->tok_kind != MP_TOKEN_END) {
mp_lexer_show_token(lex);
mp_lexer_to_next(lex);
}
mp_lexer_free(lex);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment