Add symbol scoping for proper parsing.
[smatch.git] / scope.h
blobf564018f3f33ce47b702c3bbe415ce2d1a9e850f
1 #ifndef SCOPE_H
2 #define SCOPE_H
4 struct scope {
5 struct token *token; /* Scope start information */
6 struct symbol_list *symbols; /* List of symbols in this scope */
7 struct scope *next;
8 };
10 extern void start_symbol_scope(void);
11 extern void end_symbol_scope(void);
12 extern void bind_scope(struct symbol *);
14 #endif