In .error and .warning, prefer command-line variables
to globals, as per documentation. Nudged by: Jeremie Le Hen
This commit is contained in:
parent
a2237c41fc
commit
edd57853f5
@ -2235,7 +2235,7 @@ parse_message(char *line, int iserror, int lineno __unused)
|
||||
while (isspace((u_char)*line))
|
||||
line++;
|
||||
|
||||
line = Buf_Peel(Var_Subst(line, VAR_GLOBAL, FALSE));
|
||||
line = Buf_Peel(Var_Subst(line, VAR_CMD, FALSE));
|
||||
Parse_Error(iserror ? PARSE_FATAL : PARSE_WARNING, "%s", line);
|
||||
free(line);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user