|
From: | Lars Ingebrigtsen |
Subject: | bug#52496: syntax highlighting problem on emacs shell-script mode |
Date: | Sun, 19 Dec 2021 14:33:41 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Andreas Schwab <schwab@linux-m68k.org> 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
[Prev in Thread] | Current Thread | [Next in Thread] |