aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/progmodes/perl-mode.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/progmodes/perl-mode.el b/lisp/progmodes/perl-mode.el
index c65ae0d284e..6fcd16e97c6 100644
--- a/lisp/progmodes/perl-mode.el
+++ b/lisp/progmodes/perl-mode.el
@@ -207,11 +207,11 @@ The expansion is entirely correct because it uses the C preprocessor."
207 '("\\<\\(local\\|my\\)\\>" . font-lock-type-face) 207 '("\\<\\(local\\|my\\)\\>" . font-lock-type-face)
208 ;; 208 ;;
209 ;; Fontify function, variable and file name references. 209 ;; Fontify function, variable and file name references.
210 '("&\\(\\sw+\\)" 1 font-lock-function-name-face) 210 '("&\\(\\sw+\\(::\\sw+\\)*\\)" 1 font-lock-function-name-face)
211 ;; Additionally underline non-scalar variables. Maybe this is a bad idea. 211 ;; Additionally underline non-scalar variables. Maybe this is a bad idea.
212 ;;'("[$@%*][#{]?\\(\\sw+\\)" 1 font-lock-variable-name-face) 212 ;;'("[$@%*][#{]?\\(\\sw+\\)" 1 font-lock-variable-name-face)
213 '("[$*]{?\\(\\sw+\\)" 1 font-lock-variable-name-face) 213 '("[$*]{?\\(\\sw+\\(::\\sw+\\)*\\)" 1 font-lock-variable-name-face)
214 '("\\([@%]\\|\\$#\\)\\(\\sw+\\)" 214 '("\\([@%]\\|\\$#\\)\\(\\sw+\\(::\\sw+\\)*\\)"
215 (2 (cons font-lock-variable-name-face '(underline)))) 215 (2 (cons font-lock-variable-name-face '(underline))))
216 '("<\\(\\sw+\\)>" 1 font-lock-constant-face) 216 '("<\\(\\sw+\\)>" 1 font-lock-constant-face)
217 ;; 217 ;;