Skip to content

Commit

Permalink
add visibility to var for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
bulk88 authored and mohawk2 committed Mar 9, 2015
1 parent c4d8d21 commit 9da2d00
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions make.c
Original file line number Diff line number Diff line change
Expand Up @@ -430,9 +430,11 @@ CELLPTR setdirroot;
/* Search the prerequisite list for dynamic prerequisites and if we find
* them copy the list of prerequisites for potential later re-use. */
if ( cp->ce_prqorg == NIL(LINK) ) {
for( dp = cp->ce_prq; dp != NIL(LINK); dp = dp->cl_next )
if ( strchr(dp->cl_prq->CE_NAME, '$') != NULL )
for( dp = cp->ce_prq; dp != NIL(LINK); dp = dp->cl_next ) {
char * ce_name = dp->cl_prq->CE_NAME;
if ( strchr(ce_name, '$') != NULL )
break;
}

if (dp != NIL(LINK)) {
cp->ce_prqorg = _dup_prq(cp->ce_prq);
Expand Down

0 comments on commit 9da2d00

Please sign in to comment.