diff options
| author | Damien George <damien.p.george@gmail.com> | 2014-04-12 17:55:32 +0100 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2014-04-12 17:55:32 +0100 |
| commit | 0a4c210586e0e5f8de4cf87116edbed9070a4810 (patch) | |
| tree | ee9eb28038e16158c5832081b7364b7e18e6f332 /py/showbc.c | |
| parent | a26dc509681ef766ddc3d72646abd3befc12f573 (diff) | |
| parent | a5afc9009fedbe9a06f49d46a1c7e2251a84a549 (diff) | |
Merge branch 'master' of github.com:micropython/micropython
Diffstat (limited to 'py/showbc.c')
| -rw-r--r-- | py/showbc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/py/showbc.c b/py/showbc.c index 08dec1e2b..c3342ca84 100644 --- a/py/showbc.c +++ b/py/showbc.c @@ -98,7 +98,7 @@ void mp_byte_code_print(const byte *ip, int len) { case MP_BC_LOAD_CONST_ID: DECODE_QSTR; - printf("LOAD_CONST_ID %s", qstr_str(qstr)); + printf("LOAD_CONST_ID '%s'", qstr_str(qstr)); break; case MP_BC_LOAD_CONST_BYTES: @@ -108,7 +108,7 @@ void mp_byte_code_print(const byte *ip, int len) { case MP_BC_LOAD_CONST_STRING: DECODE_QSTR; - printf("LOAD_CONST_STRING %s", qstr_str(qstr)); + printf("LOAD_CONST_STRING '%s'", qstr_str(qstr)); break; case MP_BC_LOAD_NULL: @@ -452,12 +452,12 @@ void mp_byte_code_print(const byte *ip, int len) { case MP_BC_IMPORT_NAME: DECODE_QSTR; - printf("IMPORT_NAME %s", qstr_str(qstr)); + printf("IMPORT_NAME '%s'", qstr_str(qstr)); break; case MP_BC_IMPORT_FROM: DECODE_QSTR; - printf("IMPORT_FROM %s", qstr_str(qstr)); + printf("IMPORT_FROM '%s'", qstr_str(qstr)); break; case MP_BC_IMPORT_STAR: |
