4 * Symbol scoping is pretty simple.
6 * Copyright (C) 2003 Transmeta Corp.
8 * Licensed under the Open Software License version 1.1
12 struct token
*token
; /* Scope start information */
13 struct symbol_list
*symbols
; /* List of symbols in this scope */
17 static inline int toplevel(struct scope
*scope
)
19 return scope
->next
== scope
;
27 extern void start_symbol_scope(void);
28 extern void end_symbol_scope(void);
30 extern void start_function_scope(void);
31 extern void end_function_scope(void);
33 extern void bind_scope(struct symbol
*, struct scope
*);