diff options
Diffstat (limited to 'parse.c')
-rw-r--r-- | parse.c | 24 |
1 files changed, 23 insertions, 1 deletions
@@ -31,8 +31,30 @@ static int deftype(char *line, struct filepointer *filep, int parse_it); static int zero_value(char *filename, char *exp, struct filepointer *filep, struct inclist *file_red); +static struct symtab **slookup(const char *symbol, struct inclist *file); static boolean merge2defines(struct inclist *file1, struct inclist *file2); +static const char *const directives[] = { + "if", + "ifdef", + "ifndef", + "else", + "endif", + "define", + "undef", + "include", + "line", + "pragma", + "error", + "ident", + "sccs", + "elif", + "eject", + "warning", + "include_next", + NULL +}; + static int gobble(struct filepointer *filep, struct inclist *file, struct inclist *file_red) @@ -245,7 +267,7 @@ deftype(char *line, struct filepointer *filep, return (ret); } -struct symtab ** +static struct symtab ** fdefined(const char *symbol, struct inclist *file, struct inclist **srcfile) { struct symtab **val; |