(sh-font-lock-syntactic-keywords): Handle here-docs differently.
commit3e2dd647b766091c075b6a49be0ca36b0f80f5d6
authorStefan Monnier <monnier@iro.umontreal.ca>
Sat, 13 Oct 2001 19:08:30 +0000 (13 19:08 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sat, 13 Oct 2001 19:08:30 +0000 (13 19:08 +0000)
tree0d80b722fe94936072d290d2e0ac8f1554e59770
parent71f343138c2c459e02f23908a79083fb0478a9e9
(sh-font-lock-syntactic-keywords): Handle here-docs differently.
(sh-font-lock-heredoc): Remove.
(sh-here-doc-open-re, sh-here-doc-markers, sh-here-doc-re): New vars.
(sh-font-lock-here-doc, sh-font-lock-close-heredoc)
(sh-font-lock-open-heredoc): New functions.
(sh-mode): Don't copy sh-font-lock-syntactic-keywords any more.
(sh-font-lock-keywords-1): Use regexp-opt.
(sh-in-comment-or-string): Use syntax-ppss.
(sh-case, sh-for, sh-indexed-loop, sh-function, sh-if, sh-repeat)
(sh-select, sh-tmp-file): Add explicit terminating \n.
lisp/progmodes/sh-script.el