diff options
| author | Damien George <damien.p.george@gmail.com> | 2014-02-01 20:08:18 +0000 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2014-02-01 20:08:18 +0000 |
| commit | cbddb279bba5395ad444cb46d78223c8f9064c56 (patch) | |
| tree | 773644ba542ebb307d036526cdae4f5086e65633 /py/emit.h | |
| parent | a908202d60e15d37b47fb32b414658237119cd60 (diff) | |
py: Implement break/continue from an exception with finally.
Still todo: break/continue from within the finally block itself.
Diffstat (limited to 'py/emit.h')
| -rw-r--r-- | py/emit.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -72,8 +72,8 @@ typedef struct _emit_method_table_t { void (*jump_if_true_or_pop)(emit_t *emit, int label); void (*jump_if_false_or_pop)(emit_t *emit, int label); void (*setup_loop)(emit_t *emit, int label); - void (*break_loop)(emit_t *emit, int label); - void (*continue_loop)(emit_t *emit, int label); + void (*break_loop)(emit_t *emit, int label, int except_depth); + void (*continue_loop)(emit_t *emit, int label, int except_depth); void (*setup_with)(emit_t *emit, int label); void (*with_cleanup)(emit_t *emit); void (*setup_except)(emit_t *emit, int label); |
