mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 20:32:00 -08:00
Allow @ characters in heredoc in shell-script-mode
* lisp/progmodes/sh-script.el (defconst): Also allow @ in heredoc (bug#52496).
This commit is contained in:
parent
6def36f216
commit
c963672736
1 changed files with 1 additions and 1 deletions
|
|
@ -864,7 +864,7 @@ See `sh-feature'.")
|
|||
"\\(?:\\(?:.*[^\\\n]\\)?\\(?:\\\\\\\\\\)*\\\\\n\\)*.*")
|
||||
|
||||
(defconst sh-here-doc-open-re
|
||||
(concat "[^<]<<-?\\s-*\\\\?\\(\\(?:['\"][^'\"]+['\"]\\|\\sw\\|[-/~._]\\)+\\)"
|
||||
(concat "[^<]<<-?\\s-*\\\\?\\(\\(?:['\"][^'\"]+['\"]\\|\\sw\\|[-/~._@]\\)+\\)"
|
||||
sh-escaped-line-re "\\(\n\\)")))
|
||||
|
||||
(defun sh--inside-noncommand-expression (pos)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue