Quoted commas were not being treated correctly in command line arguments.
This commit is contained in:
@@ -157,7 +157,7 @@ DEFVAR [a-z_]+
|
|||||||
}
|
}
|
||||||
|
|
||||||
<GOTCMND>{
|
<GOTCMND>{
|
||||||
\\[:\,= \t#] {
|
\\[:\\,= \t#] {
|
||||||
LEXTRACE("QUOTEDCHAR ");
|
LEXTRACE("QUOTEDCHAR ");
|
||||||
fill_args(yytext + 1, 1, sawspace);
|
fill_args(yytext + 1, 1, sawspace);
|
||||||
sawspace = FALSE;
|
sawspace = FALSE;
|
||||||
@@ -169,7 +169,7 @@ DEFVAR [a-z_]+
|
|||||||
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;
|
||||||
|
Reference in New Issue
Block a user