summaryrefslogtreecommitdiff
path: root/py/scope.h
diff options
context:
space:
mode:
authorDamien <damien.p.george@gmail.com>2013-10-05 12:19:06 +0100
committerDamien <damien.p.george@gmail.com>2013-10-05 12:19:06 +0100
commit415eb6f8507cc8c912143e8173bd9b451f6af917 (patch)
tree60f05e31b722a94ee304ecb6f46a179c4787793e /py/scope.h
parent492d0824552da7286fc0e4e1b91ea2fd8ad8262a (diff)
Restructure emit so it goes through a method table.
Diffstat (limited to 'py/scope.h')
-rw-r--r--py/scope.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/py/scope.h b/py/scope.h
index 2d620fb4f..cb5e606c3 100644
--- a/py/scope.h
+++ b/py/scope.h
@@ -55,4 +55,6 @@ id_info_t *scope_find(scope_t *scope, qstr qstr);
id_info_t *scope_find_global(scope_t *scope, qstr qstr);
id_info_t *scope_find_local_in_parent(scope_t *scope, qstr qstr);
void scope_close_over_in_parents(scope_t *scope, qstr qstr);
+void scope_declare_global(scope_t *scope, qstr qstr);
+void scope_declare_nonlocal(scope_t *scope, qstr qstr);
void scope_print_info(scope_t *s);