version 1.4, 2002/01/03 03:49:16 |
version 1.5, 2002/01/16 18:09:13 |
|
|
#include <sudo.tab.h> |
#include <sudo.tab.h> |
|
|
#ifndef lint |
#ifndef lint |
static const char rcsid[] = "$Sudo: parse.lex,v 1.117 2001/12/30 22:12:06 millert Exp $"; |
static const char rcsid[] = "$Sudo: parse.lex,v 1.118 2002/01/15 18:16:31 millert Exp $"; |
#endif /* lint */ |
#endif /* lint */ |
|
|
#undef yywrap /* guard against a yywrap macro */ |
#undef yywrap /* guard against a yywrap macro */ |
|
|
} |
} |
|
|
<GOTCMND>{ |
<GOTCMND>{ |
\\[:\,= \t#] { |
\\[:\\,= \t#] { |
LEXTRACE("QUOTEDCHAR "); |
LEXTRACE("QUOTEDCHAR "); |
fill_args(yytext + 1, 1, sawspace); |
fill_args(yytext + 1, 1, sawspace); |
sawspace = FALSE; |
sawspace = FALSE; |
|
|
return(COMMAND); |
return(COMMAND); |
} /* end of command line args */ |
} /* end of command line args */ |
|
|
[^:, \t\n]+ { |
[^\\:, \t\n]+ { |
LEXTRACE("ARG "); |
LEXTRACE("ARG "); |
fill_args(yytext, yyleng, sawspace); |
fill_args(yytext, yyleng, sawspace); |
sawspace = FALSE; |
sawspace = FALSE; |