* lisp/progmodes/sh-script.el: Test "in-string" of the right char!
(sh-syntax-propertize-function): Fix off-by-one error. Fixes bug#23526.
This commit is contained in:
parent
3ad8ca429b
commit
01832ec21f
1 changed files with 1 additions and 1 deletions
|
@ -1138,7 +1138,7 @@ subshells can nest."
|
|||
(syntax-propertize-rules
|
||||
(sh-here-doc-open-re
|
||||
(2 (sh-font-lock-open-heredoc
|
||||
(match-beginning 0) (match-string 1) (match-beginning 2))))
|
||||
(1+ (match-beginning 0)) (match-string 1) (match-beginning 2))))
|
||||
("\\s|" (0 (prog1 nil (sh-syntax-propertize-here-doc end))))
|
||||
;; A `#' begins a comment when it is unquoted and at the
|
||||
;; beginning of a word. In the shell, words are separated by
|
||||
|
|
Loading…
Add table
Reference in a new issue