codea: offset fuer feldzugriff
[uebersetzerbau-ss10.git] / codea / symtable.h
index 5db4ed6d34dc419648efa9619c05fd7580d9a748..9892899a871ed7b692bd158535ec96911ee80a74 100755 (executable)
@@ -12,11 +12,12 @@ struct symbol {
        struct symbol *next;
        short type;
        int param_index;
+       int soffset;
 };
 
 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, int param_index);
+struct symbol *tab_add_symbol(struct symbol *tab, char *ident, short type, short check, int param_index, int soffset);
 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);