comparison lisp/progmodes/simula.el @ 20953:f3f9df46d008

Changed font-lock-reference-face to font-lock-constant-face.
author Simon Marshall <simon@gnu.org>
date Fri, 20 Feb 1998 14:58:27 +0000
parents 072dbf80f9e0
children 2f9b7d0689a9
comparison
equal deleted inserted replaced
20952:adcb58a1c0f3 20953:f3f9df46d008
139 ;; Comments and strings. 139 ;; Comments and strings.
140 '(simula-match-string-or-comment 0 140 '(simula-match-string-or-comment 0
141 (if (match-beginning 1) font-lock-string-face font-lock-comment-face)) 141 (if (match-beginning 1) font-lock-string-face font-lock-comment-face))
142 ;; 142 ;;
143 ;; Compiler directives. 143 ;; Compiler directives.
144 '("^%\\([^ \t\n].*\\)" 1 font-lock-reference-face) 144 '("^%\\([^ \t\n].*\\)" 1 font-lock-constant-face)
145 ;; 145 ;;
146 ;; Class and procedure names. 146 ;; Class and procedure names.
147 '("\\<\\(class\\|procedure\\)\\>[ \t]*\\(\\sw+\\)?" 147 '("\\<\\(class\\|procedure\\)\\>[ \t]*\\(\\sw+\\)?"
148 (1 font-lock-keyword-face) (2 font-lock-function-name-face nil t)) 148 (1 font-lock-keyword-face) (2 font-lock-function-name-face nil t))
149 ) 149 )
151 151
152 (defconst simula-font-lock-keywords-2 152 (defconst simula-font-lock-keywords-2
153 (append simula-font-lock-keywords-1 153 (append simula-font-lock-keywords-1
154 (list 154 (list
155 ;; 155 ;;
156 ;; Constants as references. 156 ;; Constants.
157 '("\\<\\(false\\|none\\|notext\\|true\\)\\>" . font-lock-reference-face) 157 '("\\<\\(false\\|none\\|notext\\|true\\)\\>" . font-lock-constant-face)
158 ;; 158 ;;
159 ;; Keywords. 159 ;; Keywords.
160 (concat "\\<\\(" 160 (concat "\\<\\("
161 ; (make-regexp 161 ; (make-regexp
162 ; '("activate" "after" "and" "at" "before" "begin" "delay" "do" 162 ; '("activate" "after" "and" "at" "before" "begin" "delay" "do"