summary refs log tree commit diff
path: root/Src/parse.c
diff options
context:
space:
mode:
authorPeter Stephenson <p.w.stephenson@ntlworld.com>2016-10-30 17:12:04 +0000
committerPeter Stephenson <p.w.stephenson@ntlworld.com>2016-10-30 17:12:04 +0000
commit88c42a2ba0f0baa9fd20bb7abddc2ad89b66a508 (patch)
treeb49636d4f92246f1bac95eeac070517923092418 /Src/parse.c
parentab81b98c49ace618f5a1607faf718e0b2e43948d (diff)
downloadzsh-88c42a2ba0f0baa9fd20bb7abddc2ad89b66a508.tar.gz
zsh-88c42a2ba0f0baa9fd20bb7abddc2ad89b66a508.tar.xz
zsh-88c42a2ba0f0baa9fd20bb7abddc2ad89b66a508.zip
39777: $() is a valid empty command substitution
Diffstat (limited to 'Src/parse.c')
-rw-r--r--Src/parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/parse.c b/Src/parse.c
index 24b8cd97f..50a0d5f9f 100644
--- a/Src/parse.c
+++ b/Src/parse.c
@@ -594,7 +594,7 @@ par_event(int endtok)
     if (tok == ENDINPUT)
 	return 0;
     if (tok == endtok)
-	return 0;
+	return 1;
 
     p = ecadd(0);