Commit 5d323def authored by nhtshot's avatar nhtshot Committed by Damien George
Browse files

py: Update parse.c&mpconfig.h to reflect rename of mp_lexer_show_token.

This function is only used when DEBUG_PRINTERS and USE_RULE_NAME are
enabled.
parent 71ebd4b7
...@@ -178,7 +178,7 @@ ...@@ -178,7 +178,7 @@
#endif #endif
// Whether to build functions that print debugging info: // Whether to build functions that print debugging info:
// mp_token_show // mp_lexer_show_token
// mp_bytecode_print // mp_bytecode_print
// mp_parse_node_print // mp_parse_node_print
#ifndef MICROPY_DEBUG_PRINTERS #ifndef MICROPY_DEBUG_PRINTERS
......
...@@ -782,7 +782,7 @@ syntax_error: ...@@ -782,7 +782,7 @@ syntax_error:
// debugging: print the rule name that failed and the token // debugging: print the rule name that failed and the token
printf("rule: %s\n", rule->rule_name); printf("rule: %s\n", rule->rule_name);
#if MICROPY_DEBUG_PRINTERS #if MICROPY_DEBUG_PRINTERS
mp_token_show(lex); mp_lexer_show_token(lex);
#endif #endif
#endif #endif
} }
......
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