diff options
author | ru <ru@FreeBSD.org> | 2007-04-12 18:14:00 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2007-04-12 18:14:00 +0000 |
commit | fc751b701f37d72c5bfcb2d6805cb2c7bae60b63 (patch) | |
tree | f692c1fd966db1aad00b94adf455d8d3a26357a3 /usr.bin/make | |
parent | 5b070780c00e9d2d81fcc39b3aef201725b8896b (diff) | |
download | FreeBSD-src-fc751b701f37d72c5bfcb2d6805cb2c7bae60b63.zip FreeBSD-src-fc751b701f37d72c5bfcb2d6805cb2c7bae60b63.tar.gz |
In .error and .warning, prefer command-line variables
to globals, as per documentation.
Nudged by: Jeremie Le Hen
Diffstat (limited to 'usr.bin/make')
-rw-r--r-- | usr.bin/make/parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/make/parse.c b/usr.bin/make/parse.c index f125b50..14ffe18 100644 --- a/usr.bin/make/parse.c +++ b/usr.bin/make/parse.c @@ -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); |