aboutsummaryrefslogtreecommitdiff
path: root/scope.h
diff options
context:
space:
mode:
Diffstat (limited to 'scope.h')
-rw-r--r--scope.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/scope.h b/scope.h
deleted file mode 100644
index feb2e8b..0000000
--- a/scope.h
+++ /dev/null
@@ -1,22 +0,0 @@
-struct scope {
- struct hashtable *tags;
- struct hashtable *decls;
- struct value *breaklabel;
- struct value *continuelabel;
- struct switchcases *switchcases;
- struct scope *parent;
-};
-
-void scopeinit(void);
-struct scope *mkscope(struct scope *);
-struct scope *delscope(struct scope *);
-
-struct decl;
-void scopeputdecl(struct scope *, const char *, struct decl *);
-struct decl *scopegetdecl(struct scope *, const char *, _Bool);
-
-struct type;
-void scopeputtag(struct scope *, const char *, struct type *);
-struct type *scopegettag(struct scope *, const char *, _Bool);
-
-extern struct scope filescope;