Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
minor parsing bug in zsh 3.0.8
- X-seq: zsh-workers 14243
- From: Jens Schweikhardt <schweikh@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: minor parsing bug in zsh 3.0.8
- Date: Mon, 7 May 2001 16:02:52 +0200
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
hello, world\n
zsh won't parse function definitions with a space between the parentheses:
# foo ( ) { echo foo }
zsh: parse error near `}'
# foo () { echo foo }
# echo $ZSH_VERSION
3.0.8
The draft of the next POSIX spec makes ( and ) in function definitons
separate tokens,
function_definition : fname '(' ')' linebreak function_body
You might want to fix this for proper POSIX conformance. Thanks!
Regards,
Jens
--
Jens Schweikhardt http://www.schweikhardt.net/
SIGSIG -- signature too long (core dumped)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author