comparison lisp/progmodes/sh-script.el @ 52549:90a4382900b0

(sh-font-lock-keywords): Highlight escaped EOLs differently from other backslash constructs.
author Glenn Morris <rgm@gnu.org>
date Fri, 19 Sep 2003 17:10:57 +0000
parents 9db479d16349
children 6de55a10c444
comparison
equal deleted inserted replaced
52548:088a99a13c00 52549:90a4382900b0
807 (1 font-lock-keyword-face) (2 font-lock-function-name-face nil t))) 807 (1 font-lock-keyword-face) (2 font-lock-function-name-face nil t)))
808 808
809 ;; The next entry is only used for defining the others 809 ;; The next entry is only used for defining the others
810 (shell eval sh-append executable-font-lock-keywords 810 (shell eval sh-append executable-font-lock-keywords
811 ;; Using font-lock-string-face here confuses sh-get-indent-info. 811 ;; Using font-lock-string-face here confuses sh-get-indent-info.
812 '("\\\\[^A-Za-z0-9]" 0 font-lock-warning-face) 812 '("\\\\$" 0 font-lock-warning-face)
813 '("\\\\[^A-Za-z0-9]" 0 font-lock-string-face)
813 '("\\${?\\([A-Za-z_][A-Za-z0-9_]*\\|[0-9]+\\|[$*_]\\)" 1 814 '("\\${?\\([A-Za-z_][A-Za-z0-9_]*\\|[0-9]+\\|[$*_]\\)" 1
814 font-lock-variable-name-face)) 815 font-lock-variable-name-face))
815 (rpm eval sh-append rpm2 816 (rpm eval sh-append rpm2
816 '("%{?\\(\\sw+\\)" 1 font-lock-keyword-face)) 817 '("%{?\\(\\sw+\\)" 1 font-lock-keyword-face))
817 (rpm2 eval sh-append shell 818 (rpm2 eval sh-append shell