summaryrefslogtreecommitdiff
path: root/parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'parser.h')
-rw-r--r--parser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/parser.h b/parser.h
index 3efdd798..96115c27 100644
--- a/parser.h
+++ b/parser.h
@@ -78,7 +78,7 @@ struct dstack {
/* characters that can appear following ${ to introduce a function or value
substitution (this is mksh terminology and needs to be changed). */
-#define FUNSUB_CHAR(n) ((n) == ' ' || (n) == '\t' || (n) == '\n' || (n) == '|')
+#define FUNSUB_CHAR(n) ((n) == ' ' || (n) == '\t' || (n) == '\n' || (n) == '|' || (n) == '(') /* ) */
/* variable declarations from parse.y */
extern struct dstack dstack;