diff options
author | 2003-03-31 16:25:51 -0700 | |
---|---|---|
committer | 2005-04-07 20:59:57 -0700 | |
commit | 91234dcb89f1d8883a79dd1edb9b520d9fff5571 (patch) | |
tree | 358f6cbf4032b698f18651274358ff7c8c13151e /scope.h | |
parent | Make labels be symbols in their own namespace (NS_LABEL). (diff) | |
download | sparse-91234dcb89f1d8883a79dd1edb9b520d9fff5571.tar.gz sparse-91234dcb89f1d8883a79dd1edb9b520d9fff5571.tar.bz2 sparse-91234dcb89f1d8883a79dd1edb9b520d9fff5571.zip |
Separate scopes for blocks and functions. Function scopes
are a proper superset of block scopes: function scopes
are created by a new function, block scopes by compound
statements and statement expressions.
Make labels use function scope.
Diffstat (limited to 'scope.h')
-rw-r--r-- | scope.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -14,6 +14,10 @@ struct scope { extern void start_symbol_scope(void); extern void end_symbol_scope(void); + +extern void start_function_scope(void); +extern void end_function_scope(void); + extern void bind_scope(struct symbol *); #endif |