Mercurial > emacs
comparison lisp/progmodes/sh-script.el @ 91302:56a72e2bd635
Merge from emacs--devo--0
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-306
author | Miles Bader <miles@gnu.org> |
---|---|
date | Sat, 29 Dec 2007 02:39:17 +0000 |
parents | 53108e6cea98 5459c18c7d1a |
children | 606f2d163a64 |
comparison
equal
deleted
inserted
replaced
91301:7774e5860c70 | 91302:56a72e2bd635 |
---|---|
1095 ("\\(\\\\\\)'" (1 (sh-font-lock-backslash-quote))) | 1095 ("\\(\\\\\\)'" (1 (sh-font-lock-backslash-quote))) |
1096 ;; The previous rule uses syntax-ppss, but the subsequent rules may | 1096 ;; The previous rule uses syntax-ppss, but the subsequent rules may |
1097 ;; change the syntax, so we have to tell syntax-ppss that the states it | 1097 ;; change the syntax, so we have to tell syntax-ppss that the states it |
1098 ;; has just computed will need to be recomputed. | 1098 ;; has just computed will need to be recomputed. |
1099 (sh-font-lock-flush-syntax-ppss-cache) | 1099 (sh-font-lock-flush-syntax-ppss-cache) |
1100 ;; Make sure $@ and @? are correctly recognized as sexps. | 1100 ;; Make sure $@ and $? are correctly recognized as sexps. |
1101 ("\\$\\([?@]\\)" 1 ,sh-st-symbol) | 1101 ("\\$\\([?@]\\)" 1 ,sh-st-symbol) |
1102 ;; Find HEREDOC starters and add a corresponding rule for the ender. | 1102 ;; Find HEREDOC starters and add a corresponding rule for the ender. |
1103 (sh-font-lock-here-doc | 1103 (sh-font-lock-here-doc |
1104 (2 (sh-font-lock-open-heredoc | 1104 (2 (sh-font-lock-open-heredoc |
1105 (match-beginning 0) (match-string 1)) nil t) | 1105 (match-beginning 0) (match-string 1)) nil t) |