Subject: bug#52496: syntax highlighting problem on emacs shell-script mode

From: Lars Ingebrigtsen <[email-masked]>
Date: Sun, 19 Dec 2021 14:33:41 +0100

Andreas Schwab <[email-masked]> writes:

>> It seems like sh-mode isn't interpreting that "@" as the end of the
>> heredoc.
>
> ELISP> (let ((s " <<- @\n")) (string-match sh-here-doc-open-re s)
> ELISP> (match-string 1 s))
> "-"
> ELISP> (let ((s " <<- EOF\n")) (string-match sh-here-doc-open-re s)
> ELISP> (match-string 1 s))
> "EOF"

Right.  I haven't real the shell documentation -- is "@" a valid heredoc
... separator?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no