diff options
| author | Glenn Morris | 2002-08-03 19:01:50 +0000 |
|---|---|---|
| committer | Glenn Morris | 2002-08-03 19:01:50 +0000 |
| commit | eb9f0295d0cd3b30c32350645e833cd13afeb144 (patch) | |
| tree | f4af1fb1db499edbefea8e77e509d2671d0cce15 | |
| parent | fa32e96a13de1dc2e111180bb3c8982b254d7784 (diff) | |
| download | emacs-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.el | 7 |
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 |