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