4 * Symbol scoping is pretty simple.
6 * Copyright (C) 2003 Transmeta Corp, all rights reserved.
10 struct token
*token
; /* Scope start information */
11 struct symbol_list
*symbols
; /* List of symbols in this scope */
15 static inline int toplevel(struct scope
*scope
)
17 return scope
->next
== scope
;
25 extern void start_symbol_scope(void);
26 extern void end_symbol_scope(void);
28 extern void start_function_scope(void);
29 extern void end_function_scope(void);
31 extern void bind_scope(struct symbol
*, struct scope
*);