Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
lexing
- X-seq: zsh-users 21007
- From: Ray Andrews <rayandrews@xxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: lexing
- Date: Sun, 29 Nov 2015 07:24:54 -0800
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
Gentlemen:
The syntax highlighting in my editors makes the predictable mistake when
it bumps into these:
(#b)
(#c1,2)
(#a3)
because the lexing mostly follows bash rules. The people who write the
highlighter are interested in fixing that for zsh, but they want a
rigorous description of the rule. As far as I know the only rule there
is that if the hash is preceded by an open parenthesis then it is not a
comment. Is that sufficient or are there further subtleties?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author