[Github-comments] [geany/geany] false continuation of comment following " \ " (#2715)

Matthew Brush notifications at xxxxx
Wed Dec 30 00:33:45 UTC 2020


@RayAndrews56, @elextr is hoping you will open a bug on [the Scintilla bug tracker](https://sourceforge.net/p/scintilla/bugs/) (there might already be one for this, worth searching first), the project where the actual bug you're experiencing would come from. If you're willing to do that, he's asking for you to post a link to your bug report (or any existing one(s)) on their bug tracker so we can reference it here on your Github Issue.

That said, assuming the lexer is to conform to [POSIX Shell standards](https://pubs.opengroup.org/onlinepubs/007904875/utilities/xcu_chap02.html) ([`zsh` uses the normal shell lexer in Geany](https://github.com/geany/geany/blob/d9f8cdbad58d09f0c18ca8acccb49209263018f0/data/filetype_extensions.conf#L67)), it might not be an actual bug, specifically this:

> A backslash that is not quoted shall preserve the literal value of the following character, with the exception of a <newline>. If a <newline> follows the backslash, the shell shall interpret this as line continuation. The backslash and <newline>s shall be removed before splitting the input into tokens. Since the escaped <newline> is removed entirely from the input and is not replaced by any white space, it cannot serve as a token separator.



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2715#issuecomment-752286491
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20201229/0fbe8b1b/attachment.htm>


More information about the Github-comments mailing list