From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19685 invoked from network); 14 Aug 2009 13:50:41 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.5 Received: from new-brage.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.254.104) by ns1.primenet.com.au with SMTP; 14 Aug 2009 13:50:41 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 78350 invoked from network); 14 Aug 2009 13:42:34 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 14 Aug 2009 13:42:34 -0000 Received: (qmail 29089 invoked by alias); 14 Aug 2009 13:42:24 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 27214 Received: (qmail 29062 invoked from network); 14 Aug 2009 13:42:23 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 14 Aug 2009 13:42:23 -0000 Received: from mail-bw0-f215.google.com (mail-bw0-f215.google.com [209.85.218.215]) by bifrost.dotsrc.org (Postfix) with ESMTP id 066FA810A3C1 for ; Fri, 14 Aug 2009 15:42:19 +0200 (CEST) Received: by bwz11 with SMTP id 11so1152686bwz.39 for ; Fri, 14 Aug 2009 06:42:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=ktAQnz4Wia8FNAgiq8NlNkLIQIMuatJNC61wj2NT/+k=; b=VI9oeBcvHPD2XeQWs7Hlmowh79BFELn4Z675Rt7k2xPQg0xbPVRGVfylzL+ZsyXpj3 GINJSCBfekWQQVyBM0uJ4S2B50urIXjvDnpEu80khiv6YJkw3oc9KFJEGVg3v17fpxqQ rY3tcoVUlCVUjqOKutxc6rVOEyCoAxNlW8lqg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; b=Ff8TZXJ5zGoKkSb75K4W1XQSVJZOK3TkLhOshutNXjZpgf1iMn+sLG3D4Ai4Ppz1Qa H0Ld/NfcWTWeiVT32WyxKvxdAt6vbEmHbBwBoOALyeaDNWLKG23Fk6IXHITp/dPz7vqH ENGIrtTT+HMP7clHOCnV79/J87rlXknvlO0jU= MIME-Version: 1.0 Sender: ethersoft@gmail.com Received: by 10.204.103.145 with SMTP id k17mr1227068bko.10.1250257339007; Fri, 14 Aug 2009 06:42:19 -0700 (PDT) Date: Fri, 14 Aug 2009 09:42:18 -0400 X-Google-Sender-Auth: 5962cbefad0f97bf Message-ID: <20a807210908140642q49893fe3w5737044dca63bb88@mail.gmail.com> Subject: Recent parser changes From: Vin Shelton To: Zsh hackers list Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.94.2/9695/Thu Aug 13 23:08:01 2009 on bifrost X-Virus-Status: Clean Greetings - On my Windows XP/cygwin 1.7 box, one of my scripts recently stopped working with the following message: MakeNativeXEmacs:136: parse error near '\n' The line number identified is the last line in the file, so the parser is running off the end of the file. Apparently, the offending line in the script is: if [[ -n $package_dir ]] && perl -pi -e "s@^#XXX=.*@XXX=$package_dir@" config.inc Commenting out that line solved my problem. After staring at that line for awhile, I realized that the "if ... &&" construct was at least non-standard, if not an outright syntax error; removing the "if" solved the parse error. Peter - if memory serves, you made some parser changes recently and I just wanted to document this behavioral change. Regards, Vin