summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2002-06-05 09:19:04 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2002-06-05 09:19:04 +0000
commit1bc37bf82a00053d81b8773cf73b42bfa862c457 (patch)
tree24efc897b85fca44c06e205ee541fdf2dcc4b74e
parent17285: David Wolfe <dwolfe@gforcetech.com>: finally fix QNX rlimits problem (diff)
downloadzsh-1bc37bf82a00053d81b8773cf73b42bfa862c457.tar
zsh-1bc37bf82a00053d81b8773cf73b42bfa862c457.tar.gz
zsh-1bc37bf82a00053d81b8773cf73b42bfa862c457.tar.bz2
zsh-1bc37bf82a00053d81b8773cf73b42bfa862c457.tar.lz
zsh-1bc37bf82a00053d81b8773cf73b42bfa862c457.tar.xz
zsh-1bc37bf82a00053d81b8773cf73b42bfa862c457.tar.zst
zsh-1bc37bf82a00053d81b8773cf73b42bfa862c457.zip
17283: func() { ... } trash at end ignored
-rw-r--r--ChangeLog4
-rw-r--r--Src/parse.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index c4b0ad82b..49eb2bda6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2002-06-04 Peter Stephenson <pws@pwstephenson.fsnet.co.uk>
+
+ * 17283: Src/parse.c: `func() { ... } this bit was ignored'.
+
2002-06-05 Peter Stephenson <pws@csr.com>
* 17285: David Wolfe <dwolfe@gforcetech.com>:
diff --git a/Src/parse.c b/Src/parse.c
index 542a9791b..f60063bfd 100644
--- a/Src/parse.c
+++ b/Src/parse.c
@@ -1587,6 +1587,8 @@ par_simple(int *complex, int nr)
ecbuf[p] = WCB_FUNCDEF(ecused - 1 - p);
isfunc = 1;
+ isnull = 0;
+ break;
} else
break;
isnull = 0;