=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/make/parse.c,v retrieving revision 1.100 retrieving revision 1.101 diff -u -r1.100 -r1.101 --- src/usr.bin/make/parse.c 2010/12/26 13:09:22 1.100 +++ src/usr.bin/make/parse.c 2012/03/22 13:47:12 1.101 @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.c,v 1.100 2010/12/26 13:09:22 espie Exp $ */ +/* $OpenBSD: parse.c,v 1.101 2012/03/22 13:47:12 espie Exp $ */ /* $NetBSD: parse.c,v 1.29 1997/03/10 21:20:04 christos Exp $ */ /* @@ -1013,10 +1013,8 @@ /* if target already supplied, ignore commands */ if (!(gn->type & OP_HAS_COMMANDS)) { Lst_AtEnd(&gn->commands, cmd); - if (!gn->lineno) { - gn->lineno = Parse_Getlineno(); - gn->fname = Parse_Getfilename(); - } + if (!gn->origin.lineno) + Parse_FillLocation(&gn->origin); } }