diff options
Diffstat (limited to 'Src/subst.c')
-rw-r--r-- | Src/subst.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Src/subst.c b/Src/subst.c index a8f894c68..42f880965 100644 --- a/Src/subst.c +++ b/Src/subst.c @@ -152,12 +152,13 @@ stringsubst(LinkList list, LinkNode node, int ssub, int asssub) char *str = str3, c; while (!errflag && (c = *str)) { - if (((c = *str) == Inang || c == Outang || (str == str3 && c == Equals)) + if (((c = *str) == Inang || c == OutangProc || + (str == str3 && c == Equals)) && str[1] == Inpar) { char *subst, *rest, *snew, *sptr; int str3len = str - str3, sublen, restlen; - if (c == Inang || c == Outang) + if (c == Inang || c == OutangProc) subst = getproc(str, &rest); /* <(...) or >(...) */ else subst = getoutputfile(str, &rest); /* =(...) */ |