diff options
author | nhtshot <nhtshot@gmail.com> | 2015-02-23 15:05:32 -0600 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2015-02-23 21:36:05 +0000 |
commit | 5d323defe4dab940494002e80c69cfb36d204a49 (patch) | |
tree | 3e0db35d59f5a6c0d24276ae491563a809592b7a /py | |
parent | 71ebd4b7f0b88fc0ceb36d8c2464a5114470f5a0 (diff) | |
download | micropython-5d323defe4dab940494002e80c69cfb36d204a49.tar.gz micropython-5d323defe4dab940494002e80c69cfb36d204a49.zip |
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')
-rw-r--r-- | py/mpconfig.h | 2 | ||||
-rw-r--r-- | py/parse.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/py/mpconfig.h b/py/mpconfig.h index bde8dfb9ef..ed42fbccc1 100644 --- a/py/mpconfig.h +++ b/py/mpconfig.h @@ -178,7 +178,7 @@ #endif // Whether to build functions that print debugging info: -// mp_token_show +// mp_lexer_show_token // mp_bytecode_print // mp_parse_node_print #ifndef MICROPY_DEBUG_PRINTERS diff --git a/py/parse.c b/py/parse.c index 6223968f5d..3f704317e2 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 } |