about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2014-10-03 14:20:24 +0100
committerPeter Stephenson <pws@zsh.org>2014-10-03 14:20:24 +0100
commita778215b7c866c50830d4e1f750848239d009683 (patch)
treea670ba9ce3ab2bee6bc9b4e726dbdcb9d2687d69
parent7666ceb2bcd3e38d4b2f9f7202c4a9e0021b8e8c (diff)
downloadzsh-a778215b7c866c50830d4e1f750848239d009683.tar.gz
zsh-a778215b7c866c50830d4e1f750848239d009683.tar.xz
zsh-a778215b7c866c50830d4e1f750848239d009683.zip
unposted: comments in previous commit were reversed
-rw-r--r--ChangeLog7
-rw-r--r--Src/parse.c8
2 files changed, 11 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index eae67dc16..7c658e196 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2014-10-03  Peter Stephenson  <p.stephenson@samsung.com>
+
+	* unposted: src/parse.c: comments were the wrong way round.
+
+	* 33343: Src/parse.c, Test/C04funcdef.ztst: variant anonymous
+	function syntax with arguments.
+
 2014-10-02  Peter Stephenson  <p.w.stephenson@ntlworld.com>
 
 	* unposted: 5.0.6-dev-1.
diff --git a/Src/parse.c b/Src/parse.c
index 860bb4b1d..ad1ba8957 100644
--- a/Src/parse.c
+++ b/Src/parse.c
@@ -781,9 +781,7 @@ par_pline(int *complex)
  * cmd	: { redir } ( for | case | if | while | repeat |
  *				subsh | funcdef | time | dinbrack | dinpar | simple ) { redir }
  *
- * With zsh_construct non-zero, we're doing a zsh special in which
- * the following token is not considered in command position.  This
- * is used for arguments of anonymous functions.
+ * zsh_construct is passed through to par_subsh(), q.v.
  */
 
 /**/
@@ -1383,7 +1381,9 @@ par_repeat(int *complex)
  * subsh	: INPAR list OUTPAR |
  *                INBRACE list OUTBRACE [ "always" INBRACE list OUTBRACE ]
  *
- * zsh_construct is passed through to par_cmd(), q.v.
+ * With zsh_construct non-zero, we're doing a zsh special in which
+ * the following token is not considered in command position.  This
+ * is used for arguments of anonymous functions.
  */
 
 /**/