# HG changeset patch # User Glenn Morris # Date 1028401310 0 # Node ID 342b3e8fd75c9d1f8c2af3124295551243c9236b # Parent 305403dc91a3d402b2ee2822d604e5ff18fcf676 (f90-font-lock-keywords-1): Simplify `type' value a little. (f90-type-def-re): Simplify value a little. diff -r 305403dc91a3 -r 342b3e8fd75c lisp/progmodes/f90.el --- a/lisp/progmodes/f90.el Sat Aug 03 17:04:43 2002 +0000 +++ b/lisp/progmodes/f90.el Sat Aug 03 19:01:50 2002 +0000 @@ -339,9 +339,8 @@ (list ;; Special highlighting of "module procedure". '("\\<\\(module[ \t]*procedure\\)\\>" (1 font-lock-keyword-face)) - ;; Highlight declaration of derived type. - '("\\<\\(\\(?:end[ \t]*\\)?type\\)\\>[ \t]*\\([^()\n]*::[ \t]*\\)?\ -\\(\\sw+\\)" + ;; Highlight definition of derived type. + '("\\<\\(\\(?:end[ \t]*\\)?type\\)\\>\\([^()\n]*::\\)?[ \t]*\\(\\sw+\\)" (1 font-lock-keyword-face) (3 font-lock-function-name-face)) ;; Other functions and declarations. '("\\<\\(\\(?:end[ \t]*\\)?\\(program\\|module\\|function\\|\ @@ -633,7 +632,7 @@ "Regexp matching the end of a TYPE, INTERFACE, BLOCK DATA section.") (defconst f90-type-def-re - "\\<\\(type\\)\\>[ \t]*\\(?:[^()\n]*::[ \t]*\\)?\\(\\sw+\\)" + "\\<\\(type\\)\\>\\(?:[^()\n]*::\\)?[ \t]*\\(\\sw+\\)" "Regexp matching the definition of a derived type.") (defconst f90-no-break-re