[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.20 and 1.21

version 1.20, 2016/09/02 18:12:30 version 1.21, 2016/09/04 15:11:13
Line 108 
Line 108 
                 } | options option {                  } | options option {
                         $$.options = $1.options | $2.options;                          $$.options = $1.options | $2.options;
                         $$.envlist = $1.envlist;                          $$.envlist = $1.envlist;
                           if (($$.options & (NOPASS|PERSIST)) == (NOPASS|PERSIST)) {
                                   yyerror("can't combine nopass and persist");
                                   YYERROR;
                           }
                         if ($2.envlist) {                          if ($2.envlist) {
                                 if ($$.envlist) {                                  if ($$.envlist) {
                                         yyerror("can't have two setenv sections");                                          yyerror("can't have two setenv sections");

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