Oops. Move type definition to top of function, instead of
[smatch.git] / scope.h
blobd295d19c0e7a8c3743ed2fa066df1dca13fd343c
1 #ifndef SCOPE_H
2 #define SCOPE_H
3 /*
4 * Symbol scoping is pretty simple.
6 * Copyright (C) 2003 Transmeta Corp, 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);
18 extern void start_function_scope(void);
19 extern void end_function_scope(void);
21 extern void bind_scope(struct symbol *);
23 #endif