/* Written by Max Hailperin . Last change February 16, 1995. */ struct sym { char *name; /* add any other fields you need here */ }; /* You should write a procedure initializeSym which initializes any fields other than name that need initializing. When stringToSym sees a new symbol for the first time, it will create a struct sym, initialize the name field, and then call initializeSym on it to do the rest. It would probably be best if your definition of initializeSym were in some .c file of your own, rather than in symtab.c */ void initializeSym(struct sym *); struct sym *stringToSym(const char *name);