From 1f81bdcb47d42fc72340503eca46eb0a8b64c4ef Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Mon, 1 Sep 2008 20:18:46 +0000 Subject: 25587: fix a==(stuff) and associated stuff. --- Src/parse.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'Src/parse.c') diff --git a/Src/parse.c b/Src/parse.c index 295b4922f..0812f9137 100644 --- a/Src/parse.c +++ b/Src/parse.c @@ -1567,6 +1567,18 @@ par_simple(int *complex, int nr) str = p + 1; } else equalsplit(tokstr, &str); + for (p = str; *p; p++) { + /* + * We can't treat this as "simple" if it contains + * expansions that require process subsitution, since then + * we need process handling. + */ + if (p[1] == Inpar && + (*p == Equals || *p == Inang || *p == Outang)) { + *complex = 1; + break; + } + } ecstr(name); ecstr(str); isnull = 0; -- cgit 1.4.1