Add copyright statements and file comments. Add a FAQ, README, and
[smatch.git] / scope.h
blobb0006a8cf6e1518dd9c0777fc01cd0fbbc324e2a
1 #ifndef SCOPE_H
2 #define SCOPE_H
3 /*
4 * Symbol scoping is pretty simple.
6 * Copyright (C) 2003 Linus Torvalds, all rights reserved.
7 */
9 struct scope {
10 struct token *token; /* Scope start information */
11 struct symbol_list *symbols; /* List of symbols in this scope */
12 struct scope *next;
15 extern void start_symbol_scope(void);
16 extern void end_symbol_scope(void);
17 extern void bind_scope(struct symbol *);
19 #endif