summaryrefslogtreecommitdiff
path: root/parser.h
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2023-05-15 13:30:18 -0400
committerChet Ramey <chet.ramey@case.edu>2023-05-15 13:30:18 -0400
commite44e3d50dee26d12927baca188ad2a44a0135173 (patch)
treee4ff8c47078cdd7b23901205f7e1db26cd1f2242 /parser.h
parentc375f8f45f4882db3098f9b54a19b75d2b176537 (diff)
downloadbash-devel.tar.gz
complete initial implementation of nofork command substitution (${ command; })devel
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;