diff options
| author | Damien <damien.p.george@gmail.com> | 2013-10-05 18:08:26 +0100 |
|---|---|---|
| committer | Damien <damien.p.george@gmail.com> | 2013-10-05 18:08:26 +0100 |
| commit | 6cdd3af6014b28e0b3824641e6958c144b8e2cd2 (patch) | |
| tree | 04e3aa77c80acefb8ddcf936ec0173ce59e9a9dd /py/scope.h | |
| parent | 4b03e77d4a0ec46467fe501636e6eeeb79e03ab9 (diff) | |
Implement built-in decorators to select emit type.
Diffstat (limited to 'py/scope.h')
| -rw-r--r-- | py/scope.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/py/scope.h b/py/scope.h index f9ad748d9..1b626c8ec 100644 --- a/py/scope.h +++ b/py/scope.h @@ -47,9 +47,10 @@ typedef struct _scope_t { int num_locals; int stack_size; uint unique_code_id; + uint emit_options; } scope_t; -scope_t *scope_new(scope_kind_t kind, py_parse_node_t pn, uint unique_code_id); +scope_t *scope_new(scope_kind_t kind, py_parse_node_t pn, uint unique_code_id, uint emit_options); id_info_t *scope_find_or_add_id(scope_t *scope, qstr qstr, bool *added); id_info_t *scope_find(scope_t *scope, qstr qstr); id_info_t *scope_find_global(scope_t *scope, qstr qstr); |
