Searched refs:scope_stack (Results 1 – 3 of 3) sorted by relevance
102 struct scope_list scope_stack; variable130 SLIST_INIT(&scope_stack); in main()275 if (SLIST_FIRST(&scope_stack) == NULL in main()276 || SLIST_FIRST(&scope_stack)->type != SCOPE_ROOT) { in main()282 process_scope(SLIST_FIRST(&scope_stack)); in main()289 dump_scope(SLIST_FIRST(&scope_stack)); in main()770 if (SLIST_FIRST(&scope_stack) != NULL) { in scope_alloc()771 TAILQ_INSERT_TAIL(&SLIST_FIRST(&scope_stack)->inner_scope, in scope_alloc()775 SLIST_INSERT_HEAD(&scope_stack, new_scope, scope_stack_links); in scope_alloc()
71 extern struct scope_list scope_stack;
1103 scope_context = SLIST_FIRST(&scope_stack);1128 scope_context = SLIST_FIRST(&scope_stack);1148 scope_context = SLIST_FIRST(&scope_stack);1157 SLIST_REMOVE_HEAD(&scope_stack, scope_stack_links);1161 if (SLIST_FIRST(&scope_stack) == NULL) {