Mercurial > emacs
comparison lisp/progmodes/sh-script.el @ 87311:5459c18c7d1a
(sh-font-lock-syntactic-keywords): Fix
comment typo.
author | Andreas Schwab <schwab@suse.de> |
---|---|
date | Mon, 17 Dec 2007 20:32:18 +0000 |
parents | dcb8172071f2 |
children | 107ccd98fa12 56a72e2bd635 |
comparison
equal
deleted
inserted
replaced
87310:a27f06400881 | 87311:5459c18c7d1a |
---|---|
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) |