Return to parse.c CVS log | Up to [local] / src / usr.bin / make |
version 1.38, 2000/04/17 23:45:24 | version 1.39, 2000/04/17 23:54:47 | ||
---|---|---|---|
|
|
||
{ | { | ||
GNode *gn = (GNode *) gnp; | GNode *gn = (GNode *) gnp; | ||
/* 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) { | |||
gn->lineno = Parse_Getlineno(); | |||
gn->fname = Parse_Getfilename(); | |||
} | |||
} | |||
return(0); | return(0); | ||
} | } | ||