zsh-workers
 help / color / mirror / code / Atom feed
* Comment behaviour
@ 2017-08-04 18:21 Jim
  2017-08-06 18:15 ` Peter Stephenson
  0 siblings, 1 reply; 4+ messages in thread
From: Jim @ 2017-08-04 18:21 UTC (permalink / raw)
  To: zsh-workers

[-- 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

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

end of thread, other threads:[~2017-08-06 19:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-04 18:21 Comment behaviour Jim
2017-08-06 18:15 ` Peter Stephenson
2017-08-06 18:59   ` Bart Schaefer
2017-08-06 19:17     ` Peter Stephenson

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).