|
|
1.1 ! root 1: #include "defs.h" ! 2: #include "sym.h" ! 3: ! 4: /* ! 5: * syminit goes here, to build the symbol table ! 6: * the null version never bothers to call it. ! 7: */ ! 8: ! 9: /* ! 10: * compare a name in the symbol table ! 11: * with one the user typed ! 12: * hacks like leading _ and length restrictions go here ! 13: */ ! 14: eqsym(sp, n) ! 15: struct sym *sp; ! 16: char *n; ! 17: { ! 18: ! 19: return (strcmp(sp->y_name, n) == 0); ! 20: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.