aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2002-08-03 19:01:50 +0000
committerGlenn Morris2002-08-03 19:01:50 +0000
commiteb9f0295d0cd3b30c32350645e833cd13afeb144 (patch)
treef4af1fb1db499edbefea8e77e509d2671d0cce15
parentfa32e96a13de1dc2e111180bb3c8982b254d7784 (diff)
downloademacs-eb9f0295d0cd3b30c32350645e833cd13afeb144.tar.gz
emacs-eb9f0295d0cd3b30c32350645e833cd13afeb144.zip
(f90-font-lock-keywords-1): Simplify `type' value a little.
(f90-type-def-re): Simplify value a little.
-rw-r--r--lisp/progmodes/f90.el7
1 files changed, 3 insertions, 4 deletions
diff --git a/lisp/progmodes/f90.el b/lisp/progmodes/f90.el
index 3c73fab604e..14386b065fb 100644
--- a/lisp/progmodes/f90.el
+++ b/lisp/progmodes/f90.el
@@ -339,9 +339,8 @@ The options are 'downcase-word, 'upcase-word, 'capitalize-word and nil."
339 (list 339 (list
340 ;; Special highlighting of "module procedure". 340 ;; Special highlighting of "module procedure".
341 '("\\<\\(module[ \t]*procedure\\)\\>" (1 font-lock-keyword-face)) 341 '("\\<\\(module[ \t]*procedure\\)\\>" (1 font-lock-keyword-face))
342 ;; Highlight declaration of derived type. 342 ;; Highlight definition of derived type.
343 '("\\<\\(\\(?:end[ \t]*\\)?type\\)\\>[ \t]*\\([^()\n]*::[ \t]*\\)?\ 343 '("\\<\\(\\(?:end[ \t]*\\)?type\\)\\>\\([^()\n]*::\\)?[ \t]*\\(\\sw+\\)"
344\\(\\sw+\\)"
345 (1 font-lock-keyword-face) (3 font-lock-function-name-face)) 344 (1 font-lock-keyword-face) (3 font-lock-function-name-face))
346 ;; Other functions and declarations. 345 ;; Other functions and declarations.
347 '("\\<\\(\\(?:end[ \t]*\\)?\\(program\\|module\\|function\\|\ 346 '("\\<\\(\\(?:end[ \t]*\\)?\\(program\\|module\\|function\\|\
@@ -633,7 +632,7 @@ do\\([ \t]*while\\)?\\|select[ \t]*case\\|where\\|forall\\)\\)\\>"
633 "Regexp matching the end of a TYPE, INTERFACE, BLOCK DATA section.") 632 "Regexp matching the end of a TYPE, INTERFACE, BLOCK DATA section.")
634 633
635(defconst f90-type-def-re 634(defconst f90-type-def-re
636 "\\<\\(type\\)\\>[ \t]*\\(?:[^()\n]*::[ \t]*\\)?\\(\\sw+\\)" 635 "\\<\\(type\\)\\>\\(?:[^()\n]*::\\)?[ \t]*\\(\\sw+\\)"
637 "Regexp matching the definition of a derived type.") 636 "Regexp matching the definition of a derived type.")
638 637
639(defconst f90-no-break-re 638(defconst f90-no-break-re