version 1.97, 2019/12/21 15:29:25 |
version 1.98, 2019/12/21 15:31:54 |
|
|
if (DEBUG(SUFF)) |
if (DEBUG(SUFF)) |
printf("Expanding \"%s\"...", cgn->name); |
printf("Expanding \"%s\"...", cgn->name); |
|
|
cp = Var_Subst(cgn->name, &pgn->context, true); |
cp = Var_Subst(cgn->name, &pgn->localvars, true); |
if (cp == NULL) { |
if (cp == NULL) { |
printf("Problem substituting in %s", cgn->name); |
printf("Problem substituting in %s", cgn->name); |
printf("\n"); |
printf("\n"); |
|
|
*/ |
*/ |
const char *sacrifice = (const char *)cp; |
const char *sacrifice = (const char *)cp; |
|
|
(void)Arch_ParseArchive(&sacrifice, &members, &pgn->context); |
(void)Arch_ParseArchive(&sacrifice, &members, &pgn->localvars); |
} else { |
} else { |
/* Break the result into a vector of strings whose nodes |
/* Break the result into a vector of strings whose nodes |
* we can find, then add those nodes to the members list. |
* we can find, then add those nodes to the members list. |
|
|
/* Start of a variable spec -- contact variable |
/* Start of a variable spec -- contact variable |
* module to find the end so we can skip over |
* module to find the end so we can skip over |
* it. */ |
* it. */ |
Var_ParseSkip(&cp2, &pgn->context); |
Var_ParseSkip(&cp2, &pgn->localvars); |
else if (*cp2 == '\\' && cp2[1] != '\0') |
else if (*cp2 == '\\' && cp2[1] != '\0') |
/* Escaped something -- skip over it. */ |
/* Escaped something -- skip over it. */ |
cp2+=2; |
cp2+=2; |