aboutsummaryrefslogtreecommitdiff
path: root/py/emit.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-03-03 17:08:02 +0000
committerDamien George <damien.p.george@gmail.com>2015-03-03 17:08:02 +0000
commit9c5cabb502b59e5cc4354c8ca66be3d4a3e03bf9 (patch)
treecd2107a3542db6f299b56f5d6bb4725ac1dba061 /py/emit.h
parent086a7616ddd1736e064aab70bf5126bf24988a45 (diff)
py: Give error for duplicate label in inline assembler.
Diffstat (limited to 'py/emit.h')
-rw-r--r--py/emit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/emit.h b/py/emit.h
index ea8c3a655..f350f8934 100644
--- a/py/emit.h
+++ b/py/emit.h
@@ -193,7 +193,7 @@ typedef struct _emit_inline_asm_method_table_t {
void (*start_pass)(emit_inline_asm_t *emit, pass_kind_t pass, scope_t *scope, mp_obj_t *error_slot);
void (*end_pass)(emit_inline_asm_t *emit);
mp_uint_t (*count_params)(emit_inline_asm_t *emit, mp_uint_t n_params, mp_parse_node_t *pn_params);
- void (*label)(emit_inline_asm_t *emit, mp_uint_t label_num, qstr label_id);
+ bool (*label)(emit_inline_asm_t *emit, mp_uint_t label_num, qstr label_id);
void (*align)(emit_inline_asm_t *emit, mp_uint_t align);
void (*data)(emit_inline_asm_t *emit, mp_uint_t bytesize, mp_uint_t val);
void (*op)(emit_inline_asm_t *emit, qstr op, mp_uint_t n_args, mp_parse_node_t *pn_args);