From: Vin Shelton <acs@alumni.princeton.edu>
To: Zsh hackers list <zsh-workers@sunsite.dk>
Subject: Recent parser changes
Date: Fri, 14 Aug 2009 09:42:18 -0400 [thread overview]
Message-ID: <20a807210908140642q49893fe3w5737044dca63bb88@mail.gmail.com> (raw)
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
next reply other threads:[~2009-08-14 13:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-14 13:42 Vin Shelton [this message]
2009-08-14 13:54 ` Mikael Magnusson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20a807210908140642q49893fe3w5737044dca63bb88@mail.gmail.com \
--to=acs@alumni.princeton.edu \
--cc=zsh-workers@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).