Lines Matching defs:scope
35 #include "scope.h"
701 if (sym->scope == next->scope) {
735 if (prev->scope != file_scope)
745 void bind_symbol_with_scope(struct symbol *sym, struct ident *ident, enum namespace ns, struct scope *scope)
763 if (ns == NS_SYMBOL && toplevel(scope)) {
768 scope = global_scope;
771 scope = file_scope;
776 bind_scope(sym, scope);
781 struct scope *scope = block_scope;;
784 scope = file_scope;
786 scope = function_scope;
787 bind_symbol_with_scope(sym, ident, ns, scope);