ppc: eq (codea_abgabe_ak.0)
[uebersetzerbau-ss10.git] / ag / symtable.h
index 92bfc8625f197bd93a518c75c5222c49da36e5ea..df7fa5a6561ed95135d5dc76f0fc0e3059f1dfc9 100755 (executable)
@@ -12,13 +12,12 @@ struct symbol {
        short type;
 };
 
-struct symbol *clone_tab(struct symbol *tab);
-struct symbol *new_tab(void);
+struct symbol *tab_clone(struct symbol *tab);
+struct symbol *tab_new(void);
 struct symbol *tab_add_symbol(struct symbol *tab, char *ident, short type, short check);
-struct symbol *tab_lookup(struct symbol *tab, char *ident);
-struct symbol *tab_remove_symbol(struct symbol *tab, char *ident);
+struct symbol *tab_lookup(struct symbol *tab, char *ident, short type);
+struct symbol *tab_remove_symbol(struct symbol *tab, char *ident, short type);
 struct symbol *tab_merge(struct symbol *tab, struct symbol *to_add, short check);
-void check_variable(struct symbol *tab, char *ident);
-void check_field(struct symbol *tab, char *ident);
+void check(struct symbol *tab, char *ident, short type);
 
 #endif