bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Andreas Schwab
Subject: bug#52496: syntax highlighting problem on emacs shell-script mode
Date: Sun, 19 Dec 2021 14:30:27 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.90 (gnu/linux)

On Dez 19 2021, Lars Ingebrigtsen wrote:

> 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) (match-string 
1 s))
"-"
ELISP> (let ((s " <<- EOF\n")) (string-match sh-here-doc-open-re s) 
(match-string 1 s))
"EOF"

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."





reply via email to

[Prev in Thread] Current Thread [Next in Thread]