From b494fe5bc50d178450a8be20b21bde40386e8b83 Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Sat, 24 Nov 2012 11:06:09 +0000 Subject: complement "need an operator" fatal error message with the actual line content. okay beck@ --- usr.bin/make/parse.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'usr.bin/make') diff --git a/usr.bin/make/parse.c b/usr.bin/make/parse.c index 478a63b4d79..10fa726477b 100644 --- a/usr.bin/make/parse.c +++ b/usr.bin/make/parse.c @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.c,v 1.108 2012/11/07 14:18:41 espie Exp $ */ +/* $OpenBSD: parse.c,v 1.109 2012/11/24 11:06:08 espie Exp $ */ /* $NetBSD: parse.c,v 1.29 1997/03/10 21:20:04 christos Exp $ */ /* @@ -641,7 +641,8 @@ parse_do_targets(Lst paths, unsigned int *op, const char *line) Parse_Error(PARSE_FATAL, "Need an operator (likely from a cvs update conflict)"); } else { - Parse_Error(PARSE_FATAL, "Need an operator"); + Parse_Error(PARSE_FATAL, + "Need an operator in '%s'", line); } return NULL; } -- cgit v1.2.3