diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | Src/parse.c | 8 |
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. */ /**/ |