diff options
author | Damien George <damien.p.george@gmail.com> | 2014-01-23 14:27:40 -0800 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-01-23 14:27:40 -0800 |
commit | d552db426b3b79813a6269e4c18519b2d22195e4 (patch) | |
tree | 9b13316843e02bd5587b24f668d3783f578e0318 /py/scope.h | |
parent | 3257d3543becc23b045c94e99f814e80d306d235 (diff) | |
parent | fd31358505dd794feb153c00bec6d4ee92c851d1 (diff) | |
download | micropython-d552db426b3b79813a6269e4c18519b2d22195e4.tar.gz micropython-d552db426b3b79813a6269e4c18519b2d22195e4.zip |
Merge pull request #214 from pfalcon/compile-mem-leaks
Memory leaks in lexer/compiler
Diffstat (limited to 'py/scope.h')
-rw-r--r-- | py/scope.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/py/scope.h b/py/scope.h index 718ce46ecc..015a8ba93e 100644 --- a/py/scope.h +++ b/py/scope.h @@ -56,6 +56,7 @@ typedef struct _scope_t { } scope_t; scope_t *scope_new(scope_kind_t kind, mp_parse_node_t pn, qstr source_file, uint unique_code_id, uint emit_options); +void scope_free(scope_t *scope); 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); |