config(8): Allow escape-quoted empty strings
For use with things like BOOT_TAG=\"\" -- there are valid reasons to allow empty strings, especially as these are usually being passed through as options. The same argument could perhaps be made for the unquoted variant in things like MODULES_OVERRIDE="", but it's not immediately clear that this is an issue so I've left it untouched. MFC after: 3 days
This commit is contained in:
parent
7576fe761e
commit
4b09be036d
@ -127,7 +127,7 @@ PATH [./][-/.%^A-Za-z_0-9]+
|
||||
BEGIN ENVC;
|
||||
return i;
|
||||
}
|
||||
\\\"[^"]+\\\" {
|
||||
\\\"[^"]*\\\" {
|
||||
BEGIN 0;
|
||||
yytext[yyleng-2] = '"';
|
||||
yytext[yyleng-1] = '\0';
|
||||
|
Loading…
Reference in New Issue
Block a user