]> git.eshelyaron.com Git - emacs.git/commitdiff
(f90-font-lock-keywords-1, f90-font-lock-keywords-2): Fix highlighting of
authorGlenn Morris <rgm@gnu.org>
Sun, 28 Apr 2002 23:38:51 +0000 (23:38 +0000)
committerGlenn Morris <rgm@gnu.org>
Sun, 28 Apr 2002 23:38:51 +0000 (23:38 +0000)
various "type" forms.

lisp/ChangeLog
lisp/progmodes/f90.el

index 8c6fbae8b323c98289f2ee4347951aad436a2706..edeafa6aa945e3215b732d488d8d5e3b2bf83ee0 100644 (file)
@@ -3,6 +3,8 @@
        * progmodes/f90.el (f90-xemacs-flag): New variable.
        (f90-mark-subprogram-overlay): New variable.
        (f90-mark-subprogram): Now it highlights the subprogram.
+       (f90-font-lock-keywords-1, f90-font-lock-keywords-2): Fix
+       highlighting of various "type" forms.
 
 2002-04-28  Colin Walters  <walters@verbum.org>
 
index c21d7bcd356cb8adca42af5cf76b13774775a32c..af8eed0ba62324f73cc2d6e60aa2a00964f8fbd4 100644 (file)
@@ -340,8 +340,8 @@ The options are 'downcase-word, 'upcase-word, 'capitalize-word and nil."
    ;; Special highlighting of "module procedure foo-list"
    '("\\<\\(module[ \t]*procedure\\)\\>" (1 font-lock-keyword-face))
    ;; Highlight definition of new type
-   '("\\<\\(type\\)[ \t]*\\(.*::[ \t]*\\|[ \t]+\\)\\(\\sw+\\)"
-     (1 font-lock-keyword-face) (3 font-lock-function-name-face))
+;;;   '("\\<\\(type\\)[ \t]*\\(.*::[ \t]*\\|[ \t]+\\)\\(\\sw+\\)"
+;;;     (1 font-lock-keyword-face) (3 font-lock-function-name-face))
    ;; Other functions and declarations.
    '("\\<\\(\\(?:end[ \t]*\\)?\\(program\\|module\\|function\\|subroutine\\|type\\)\\|use\\|call\\)\\>[ \t]*\\(\\sw+\\)?"
      (1 font-lock-keyword-face) (3 font-lock-function-name-face nil t))
@@ -353,7 +353,7 @@ The options are 'downcase-word, 'upcase-word, 'capitalize-word and nil."
       (list
        ;; Variable declarations (avoid the real function call)
        '("^[ \t0-9]*\\(real\\|integer\\|c\\(haracter\\|omplex\\)\\|logical\\|type[ \t]*(\\sw+)\\)\\(.*::\\|[ \t]*(.*)\\)?\\([^!\n]*\\)"
-        (1 font-lock-type-face) (4 font-lock-variable-name-face))
+        (1 font-lock-type-face t) (4 font-lock-variable-name-face))
        ;; do, if, select, where, and forall constructs
        '("\\<\\(end[ \t]*\\(do\\|if\\|select\\|forall\\|where\\)\\)\\>\\([ \t]+\\(\\sw+\\)\\)?"
         (1 font-lock-keyword-face) (3 font-lock-constant-face nil t))