summaryrefslogtreecommitdiff
path: root/py/parse.c
diff options
context:
space:
mode:
authornhtshot <nhtshot@gmail.com>2015-02-23 15:05:32 -0600
committerDamien George <damien.p.george@gmail.com>2015-02-23 21:36:05 +0000
commit5d323defe4dab940494002e80c69cfb36d204a49 (patch)
tree3e0db35d59f5a6c0d24276ae491563a809592b7a /py/parse.c
parent71ebd4b7f0b88fc0ceb36d8c2464a5114470f5a0 (diff)
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.
Diffstat (limited to 'py/parse.c')
-rw-r--r--py/parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/parse.c b/py/parse.c
index 6223968f5..3f704317e 100644
--- a/py/parse.c
+++ b/py/parse.c
@@ -782,7 +782,7 @@ syntax_error:
// debugging: print the rule name that failed and the token
printf("rule: %s\n", rule->rule_name);
#if MICROPY_DEBUG_PRINTERS
- mp_token_show(lex);
+ mp_lexer_show_token(lex);
#endif
#endif
}