# 2.11BSD#431 - /usr/ingres/source/scanner/symtab.c

##### Functions

    freesym           X
    syment            X

       1: # include   "../ingres.h"
       2: # include   "../aux.h"
       3: # include   "../scanner.h"
       4:
       5: /*
       6: ** SYMENT
       7: **	enter a symbol into the symbol table
       8: */
       9: char *
      10: syment(ptr, len1)
      11: char    *ptr;
      12: int len1;
      13: {
      14:     register int    len;
      15:     register char   *p;
      16:     extern char *need();
      17:
      18:     len = len1;
      19:     p = need(Sbuf, len);
      20:     bmove(ptr, p, len);
      21:     return (p);
      22: }
      23:
      24: /*
      25: ** FREESYM
      26: **	free all entries in the symbol table
      27: */
      28: freesym()
      29: {
      30:     extern int  neederr();
      31:
      32:     initbuf(Sbuf, SBUFSIZ, SBUFOFLO, &neederr);
      33: }

#### Defined functions

freesym defined in line 28; used 1 times

- in /usr/ingres/source/parser/control.c line 57

syment defined in line 9; used 9 times

- in /usr/ingres/source/scanner/name.c line 19, 67
- in /usr/ingres/source/scanner/number.c line 81, 93-98(2)
- in /usr/ingres/source/scanner/string.c line 22, 81
- in /usr/ingres/source/scanner/yylex.c line 98, 126

Last modified: 1980-12-17 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 893 |