Return to parse.c CVS log | Up to [local] / src / usr.bin / make |
version 1.100, 2010/12/26 13:09:22 | version 1.101, 2012/03/22 13:47:12 | ||
---|---|---|---|
|
|
||
/* if target already supplied, ignore commands */ | /* if target already supplied, ignore commands */ | ||
if (!(gn->type & OP_HAS_COMMANDS)) { | if (!(gn->type & OP_HAS_COMMANDS)) { | ||
Lst_AtEnd(&gn->commands, cmd); | Lst_AtEnd(&gn->commands, cmd); | ||
if (!gn->lineno) { | if (!gn->origin.lineno) | ||
gn->lineno = Parse_Getlineno(); | Parse_FillLocation(&gn->origin); | ||
gn->fname = Parse_Getfilename(); | |||
} | |||
} | } | ||
} | } | ||