207 |
'("\\<\\(local\\|my\\)\\>" . font-lock-type-face) |
'("\\<\\(local\\|my\\)\\>" . font-lock-type-face) |
208 |
;; |
;; |
209 |
;; Fontify function, variable and file name references. |
;; Fontify function, variable and file name references. |
210 |
'("&\\(\\sw+\\)" 1 font-lock-function-name-face) |
'("&\\(\\sw+\\(::\\sw+\\)*\\)" 1 font-lock-function-name-face) |
211 |
;; Additionally underline non-scalar variables. Maybe this is a bad idea. |
;; Additionally underline non-scalar variables. Maybe this is a bad idea. |
212 |
;;'("[$@%*][#{]?\\(\\sw+\\)" 1 font-lock-variable-name-face) |
;;'("[$@%*][#{]?\\(\\sw+\\)" 1 font-lock-variable-name-face) |
213 |
'("[$*]{?\\(\\sw+\\)" 1 font-lock-variable-name-face) |
'("[$*]{?\\(\\sw+\\(::\\sw+\\)*\\)" 1 font-lock-variable-name-face) |
214 |
'("\\([@%]\\|\\$#\\)\\(\\sw+\\)" |
'("\\([@%]\\|\\$#\\)\\(\\sw+\\(::\\sw+\\)*\\)" |
215 |
(2 (cons font-lock-variable-name-face '(underline)))) |
(2 (cons font-lock-variable-name-face '(underline)))) |
216 |
'("<\\(\\sw+\\)>" 1 font-lock-constant-face) |
'("<\\(\\sw+\\)>" 1 font-lock-constant-face) |
217 |
;; |
;; |