diff options
author | Damien George <damien.p.george@gmail.com> | 2015-04-11 13:03:37 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2015-04-16 14:30:16 +0000 |
commit | 044c473de203b4dbe93874813b430fb6336db2b2 (patch) | |
tree | f632b62412031458b7a9438fa144ef5a6ebd1f66 /py/emitinlinethumb.c | |
parent | e72cda99fd5fc9e7c6476eb8574c4401d3ef9560 (diff) |
py: Add %q format support to mp_[v]printf, and use it.
Diffstat (limited to 'py/emitinlinethumb.c')
-rw-r--r-- | py/emitinlinethumb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/emitinlinethumb.c b/py/emitinlinethumb.c index bc120e8be..17db2d841 100644 --- a/py/emitinlinethumb.c +++ b/py/emitinlinethumb.c @@ -296,7 +296,7 @@ STATIC int get_arg_label(emit_inline_asm_t *emit, const char *op, mp_parse_node_ } // only need to have the labels on the last pass if (emit->pass == MP_PASS_EMIT) { - emit_inline_thumb_error_exc(emit, mp_obj_new_exception_msg_varg(&mp_type_SyntaxError, "label '%s' not defined", qstr_str(label_qstr))); + emit_inline_thumb_error_exc(emit, mp_obj_new_exception_msg_varg(&mp_type_SyntaxError, "label '%q' not defined", label_qstr)); } return 0; } |