Lines Matching defs:base_scope
1833 scope_datum_t *scope, *base_scope;
1841 base_scope = hashtab_search(state->base->scope[symbol_num].table, id);
1842 if (base_scope == NULL) {
1862 base_scope = new_scope;
1864 if (base_scope->scope == SCOPE_REQ && scope->scope == SCOPE_DECL) {
1867 base_scope->scope = SCOPE_DECL;
1868 free(base_scope->decl_ids);
1869 base_scope->decl_ids = NULL;
1870 base_scope->decl_ids_len = 0;
1873 &base_scope->decl_ids_len,
1874 &base_scope->decl_ids) == -1) {
1878 } else if (base_scope->scope == SCOPE_DECL && scope->scope == SCOPE_REQ) {
1881 } else if (base_scope->scope == SCOPE_REQ && scope->scope == SCOPE_REQ) {
1885 &base_scope->decl_ids_len,
1886 &base_scope->decl_ids) == -1) {
1903 &base_scope->decl_ids_len,
1904 &base_scope->decl_ids) == -1) {