From e1a6b1fec2c9ea1e1e60445fb4ed77d2431a3c57 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Mon, 7 Sep 1998 03:09:49 +0000 Subject: [PATCH] include sudo.tab.h, not y.tab.h don't break out of command args if you get a '=' --- parse.lex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.40.0