From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26580 invoked from network); 7 May 2001 14:12:25 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 7 May 2001 14:12:25 -0000 Received: (qmail 15569 invoked by alias); 7 May 2001 14:12:15 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 14243 Received: (qmail 15557 invoked from network); 7 May 2001 14:12:14 -0000 Date: Mon, 7 May 2001 16:02:52 +0200 From: Jens Schweikhardt To: zsh-workers@sunsite.auc.dk Subject: minor parsing bug in zsh 3.0.8 Message-ID: <20010507160252.A1540@schweikhardt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i 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)