Return to parse.y CVS log | Up to [local] / src / usr.bin / doas |
version 1.21, 2016/09/04 15:11:13 | version 1.22, 2016/09/15 00:58:23 | ||
---|---|---|---|
|
|
||
FILE *yyfp; | FILE *yyfp; | ||
struct rule **rules; | struct rule **rules; | ||
int nrules, maxrules; | int nrules; | ||
static int maxrules; | |||
int parse_errors = 0; | int parse_errors = 0; | ||
int obsolete_warned = 0; | static int obsolete_warned = 0; | ||
void yyerror(const char *, ...); | static void yyerror(const char *, ...); | ||
int yylex(void); | static int yylex(void); | ||
int yyparse(void); | |||
%} | %} | ||
|
|
||
parse_errors++; | parse_errors++; | ||
} | } | ||
struct keyword { | static struct keyword { | ||
const char *word; | const char *word; | ||
int token; | int token; | ||
} keywords[] = { | } keywords[] = { |