Lines Matching refs:scope
34 scope_datum_t *scope;
42 /* make sure its scope is correct */
43 scope = hashtab_search(p->scope[sym_type].table, id);
44 CU_ASSERT_FATAL(scope != NULL);
45 CU_ASSERT(scope->scope == scope_type);
46 CU_ASSERT(scope->decl_ids_len == len);
47 if (scope->decl_ids_len != len)
48 fprintf(stderr, "sym %s has %d decls, %d expected\n", id, scope->decl_ids_len, len);
52 if (decls[i] == scope->decl_ids[j])