zsh-workers
 help / color / mirror / code / Atom feed
* minor parsing bug in zsh 3.0.8
@ 2001-05-07 14:02 Jens Schweikhardt
  2001-05-07 14:20 ` Bart Schaefer
  0 siblings, 1 reply; 2+ messages in thread
From: Jens Schweikhardt @ 2001-05-07 14:02 UTC (permalink / raw)
  To: zsh-workers


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)


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-05-07 14:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-07 14:02 minor parsing bug in zsh 3.0.8 Jens Schweikhardt
2001-05-07 14:20 ` Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).