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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=168671
@ -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…
Reference in New Issue
Block a user