[BACK]Return to parse.y CVS log [TXT][DIR] Up to [local] / src / usr.bin / doas

Diff for /src/usr.bin/doas/parse.y between version 1.21 and 1.22

version 1.21, 2016/09/04 15:11:13 version 1.22, 2016/09/15 00:58:23
Line 46 
Line 46 
 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);  
   
 %}  %}
   
Line 205 
Line 206 
         parse_errors++;          parse_errors++;
 }  }
   
 struct keyword {  static struct keyword {
         const char *word;          const char *word;
         int token;          int token;
 } keywords[] = {  } keywords[] = {

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22