codea: parameter reihenfolge sollte passen
[uebersetzerbau-ss10.git] / codea / symtable.h
index 6b295615e2b482214df3dafd96db2292bcb608ab..5db4ed6d34dc419648efa9619c05fd7580d9a748 100755 (executable)
@@ -11,11 +11,12 @@ struct symbol {
        char *ident;
        struct symbol *next;
        short type;
+       int param_index;
 };
 
 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_add_symbol(struct symbol *tab, char *ident, short type, short check, int param_index);
 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);