From cbd2f7482c8bf457cc17da763859dbba6e03e2a2 Mon Sep 17 00:00:00 2001 From: Damien George Date: Sun, 19 Jan 2014 11:48:48 +0000 Subject: py: Add module/function/class name to exceptions. Exceptions know source file, line and block name. Also tidy up some debug printing functions and provide a global flag to enable/disable them. --- py/emit.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'py/emit.h') diff --git a/py/emit.h b/py/emit.h index 521b43cae..309d4740b 100644 --- a/py/emit.h +++ b/py/emit.h @@ -120,7 +120,7 @@ extern const emit_method_table_t emit_native_thumb_method_table; emit_t *emit_pass1_new(qstr qstr___class__); void emit_pass1_free(emit_t *emit); emit_t *emit_cpython_new(uint max_num_labels); -emit_t *emit_bc_new(qstr source_file, uint max_num_labels); +emit_t *emit_bc_new(uint max_num_labels); emit_t *emit_native_x64_new(uint max_num_labels); emit_t *emit_native_thumb_new(uint max_num_labels); -- cgit v1.2.3