diff options
| author | Damien George | 2014-01-19 11:48:48 +0000 |
|---|---|---|
| committer | Damien George | 2014-01-19 11:48:48 +0000 |
| commit | cbd2f7482c8bf457cc17da763859dbba6e03e2a2 (patch) | |
| tree | 8d6badc4197fe0d5763d381dd97586176db9fbae /py/emit.h | |
| parent | e02b2d43912d13d216936786e4b7a33918877418 (diff) | |
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.
Diffstat (limited to 'py/emit.h')
| -rw-r--r-- | py/emit.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |
