From: Todd C. Miller Date: Mon, 7 Sep 1998 03:09:49 +0000 (+0000) Subject: include sudo.tab.h, not y.tab.h X-Git-Tag: SUDO_1_5_6~38 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e1a6b1fec2c9ea1e1e60445fb4ed77d2431a3c57;p=sudo include sudo.tab.h, not y.tab.h don't break out of command args if you get a '=' --- diff --git a/parse.lex b/parse.lex index b74163733..226ee08c5 100644 --- a/parse.lex +++ b/parse.lex @@ -49,7 +49,7 @@ static char rcsid[] = "$Id$"; #include #include "sudo.h" #include -#include "y.tab.h" +#include "sudo.tab.h" #undef yywrap /* guard against a yywrap macro */ @@ -122,7 +122,7 @@ WORD [[:alnum:]_-]+ return(COMMENT); } /* return comments */ -[^:\,= \t\n]+ { +[^:\, \t\n]+ { LEXTRACE("ARG "); fill_args(yytext, yyleng, sawspace); sawspace = FALSE;