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

Diff for /src/usr.bin/sudo/Attic/parse.lex between version 1.1 and 1.2

version 1.1, 1999/11/18 16:29:01 version 1.2, 1999/12/10 06:45:11
Line 62 
Line 62 
 #include "sudo.tab.h"  #include "sudo.tab.h"
   
 #ifndef lint  #ifndef lint
 static const char rcsid[] = "$Sudo: parse.lex,v 1.109 1999/11/09 20:06:52 millert Exp $";  static const char rcsid[] = "$Sudo: parse.lex,v 1.110 1999/12/06 00:05:53 millert Exp $";
 #endif /* lint */  #endif /* lint */
   
 #undef yywrap           /* guard against a yywrap macro */  #undef yywrap           /* guard against a yywrap macro */
Line 138 
Line 138 
 \n                      {  \n                      {
                             ++sudolineno;                              ++sudolineno;
                             LEXTRACE("\n");                              LEXTRACE("\n");
                               BEGIN INITIAL;
                             return(COMMENT);                              return(COMMENT);
                         }                       /* return newline */                          }                       /* return newline */
   
Line 257 
Line 258 
                             }                              }
                         }                          }
   
 <GOTDEFS>{WORD} {  <GOTDEFS>{WORD}         {
                             LEXTRACE("WORD(3) ");                              LEXTRACE("WORD(3) ");
                             fill(yytext, yyleng);                              fill(yytext, yyleng);
                             return(WORD);                              return(WORD);
Line 296 
Line 297 
                             }                              }
                             if (*yytext == 'R') {                              if (*yytext == 'R') {
                                 LEXTRACE("RUNASALIAS ");                                  LEXTRACE("RUNASALIAS ");
                                   BEGIN GOTRUNAS;
                                 return(RUNASALIAS);                                  return(RUNASALIAS);
                             }                              }
                         }                          }

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2