diff options
| author | Damien <damien.p.george@gmail.com> | 2013-10-05 13:37:10 +0100 |
|---|---|---|
| committer | Damien <damien.p.george@gmail.com> | 2013-10-05 13:37:10 +0100 |
| commit | b05d707b2329a9534121e09e26eb9f8fef1917d3 (patch) | |
| tree | 6c1bdbaa07b85d718283b6bfe66df15cfb1940c5 /py/scope.h | |
| parent | 415eb6f8507cc8c912143e8173bd9b451f6af917 (diff) | |
Further factorise PASS_1 out of specific emit code.
Diffstat (limited to 'py/scope.h')
| -rw-r--r-- | py/scope.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/py/scope.h b/py/scope.h index cb5e606c3..f9ad748d9 100644 --- a/py/scope.h +++ b/py/scope.h @@ -46,10 +46,10 @@ typedef struct _scope_t { */ int num_locals; int stack_size; - int unique_code_id; + uint unique_code_id; } scope_t; -scope_t *scope_new(scope_kind_t kind, py_parse_node_t pn); +scope_t *scope_new(scope_kind_t kind, py_parse_node_t pn, uint unique_code_id); 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); |
