X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=codea%2Fsymtable.h;h=9892899a871ed7b692bd158535ec96911ee80a74;hb=7f1d29c581324003e8c378069b94eafef62fbab0;hp=5db4ed6d34dc419648efa9619c05fd7580d9a748;hpb=eab7be7df0ec02d3100f5c6e430e0732834a12cf;p=uebersetzerbau-ss10.git diff --git a/codea/symtable.h b/codea/symtable.h old mode 100755 new mode 100644 index 5db4ed6..9892899 --- a/codea/symtable.h +++ b/codea/symtable.h @@ -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);