diff options
Diffstat (limited to 'src/include/parser/keywords.h')
| -rw-r--r-- | src/include/parser/keywords.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/include/parser/keywords.h b/src/include/parser/keywords.h new file mode 100644 index 0000000000..66e113496a --- /dev/null +++ b/src/include/parser/keywords.h @@ -0,0 +1,25 @@ +/*------------------------------------------------------------------------- + * + * keywords.h-- + * string,atom lookup thingy, reduces strcmp traffic greatly + * in the bowels of the system. Look for actual defs in lib/C/atoms.c + * + * + * Copyright (c) 1994, Regents of the University of California + * + * $Id: keywords.h,v 1.1 1996/08/28 07:23:55 scrappy Exp $ + * + *------------------------------------------------------------------------- + */ +#ifndef KEYWORDS_H +#define KEYWORDS_H + +typedef struct ScanKeyword { + char *name; + int value; +} ScanKeyword; + +extern ScanKeyword *ScanKeywordLookup(char *text); +extern char* AtomValueGetString(int atomval); + +#endif /* KEYWORDS_H */ |
