From: Jim <linux.tech.guy@gmail.com>
To: zsh-workers@zsh.org
Subject: Comment behaviour
Date: Fri, 4 Aug 2017 13:21:13 -0500 [thread overview]
Message-ID: <CA+rB6G+=EDHGU0_Jw8trcixGTpoV5y5im22a_5xhLX_qWdp17A@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 479 bytes --]
ZSH_VERSION: 5.3.1-test-2
Example code produced the following output:
/home/user/.zshrc:<number of last line>: parse error near `\n'
[ -f /bin/zsh ] && {
# code
}# A comment. <<<--- point of error(no space after brace)
IF
} # A comment. <<<--- no error(space after brace)
Also checked "(#", ")#", and "{#" with no errors. FWIW
BUG or did I miss something in the man page? # after a brace in
a nested statement would be valid, but didn't expect it here.
Thanks,
Jim
next reply other threads:[~2017-08-04 18:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-04 18:21 Jim [this message]
2017-08-06 18:15 ` Peter Stephenson
2017-08-06 18:59 ` Bart Schaefer
2017-08-06 19:17 ` Peter Stephenson
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='CA+rB6G+=EDHGU0_Jw8trcixGTpoV5y5im22a_5xhLX_qWdp17A@mail.gmail.com' \
--to=linux.tech.guy@gmail.com \
--cc=linuxtechguy@gmail.com \
--cc=zsh-workers@zsh.org \
/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).