diff options
| -rw-r--r-- | lisp/ChangeLog | 7 | ||||
| -rw-r--r-- | lisp/progmodes/f90.el | 11 |
2 files changed, 13 insertions, 5 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index fd3be9a8166..630e4a40ae6 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2002-08-03 Glenn Morris <gmorris@ast.cam.ac.uk> | ||
| 2 | |||
| 3 | * progmodes/f90.el (f90-font-lock-keywords-1): Fix highlighting of | ||
| 4 | `type' forms. | ||
| 5 | (f90-font-lock-keywords-2): Fix `implicit type(foo)' case. | ||
| 6 | (f90-type-def-re): Fix value. | ||
| 7 | |||
| 1 | 2002-08-03 Kai Gro,b_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> | 8 | 2002-08-03 Kai Gro,b_(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> |
| 2 | 9 | ||
| 3 | * net/tramp.el: Version 2.0.6. | 10 | * net/tramp.el: Version 2.0.6. |
diff --git a/lisp/progmodes/f90.el b/lisp/progmodes/f90.el index 097f0bcba6b..3c73fab604e 100644 --- a/lisp/progmodes/f90.el +++ b/lisp/progmodes/f90.el | |||
| @@ -340,11 +340,12 @@ The options are 'downcase-word, 'upcase-word, 'capitalize-word and nil." | |||
| 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 declaration of derived type. |
| 343 | ;;; '("\\<\\(type\\)[ \t]*\\(.*::[ \t]*\\|[ \t]+\\)\\(\\sw+\\)" | 343 | '("\\<\\(\\(?:end[ \t]*\\)?type\\)\\>[ \t]*\\([^()\n]*::[ \t]*\\)?\ |
| 344 | ;;; (1 font-lock-keyword-face) (3 font-lock-function-name-face)) | 344 | \\(\\sw+\\)" |
| 345 | (1 font-lock-keyword-face) (3 font-lock-function-name-face)) | ||
| 345 | ;; Other functions and declarations. | 346 | ;; Other functions and declarations. |
| 346 | '("\\<\\(\\(?:end[ \t]*\\)?\\(program\\|module\\|function\\|\ | 347 | '("\\<\\(\\(?:end[ \t]*\\)?\\(program\\|module\\|function\\|\ |
| 347 | subroutine\\|type\\)\\|use\\|call\\)\\>[ \t]*\\(\\sw+\\)?" | 348 | subroutine\\)\\|use\\|call\\)\\>[ \t]*\\(\\sw+\\)?" |
| 348 | (1 font-lock-keyword-face) (3 font-lock-function-name-face nil t)) | 349 | (1 font-lock-keyword-face) (3 font-lock-function-name-face nil t)) |
| 349 | "\\<\\(\\(end[ \t]*\\)?\\(interface\\|block[ \t]*data\\)\\|contains\\)\\>") | 350 | "\\<\\(\\(end[ \t]*\\)?\\(interface\\|block[ \t]*data\\)\\|contains\\)\\>") |
| 350 | "This does fairly subdued highlighting of comments and function calls.") | 351 | "This does fairly subdued highlighting of comments and function calls.") |
| @@ -366,7 +367,7 @@ do\\([ \t]*while\\)?\\|select[ \t]*case\\|where\\|forall\\)\\)\\>" | |||
| 366 | (2 font-lock-constant-face nil t) (3 font-lock-keyword-face)) | 367 | (2 font-lock-constant-face nil t) (3 font-lock-keyword-face)) |
| 367 | ;; Implicit declaration. | 368 | ;; Implicit declaration. |
| 368 | '("\\<\\(implicit\\)[ \t]*\\(real\\|integer\\|c\\(haracter\\|omplex\\)\ | 369 | '("\\<\\(implicit\\)[ \t]*\\(real\\|integer\\|c\\(haracter\\|omplex\\)\ |
| 369 | \\|logical\\|type[ \t]*(\\sw+)\\|none\\)\\>" | 370 | \\|logical\\|type[ \t]*(\\sw+)\\|none\\)[ \t]*" |
| 370 | (1 font-lock-keyword-face) (2 font-lock-type-face)) | 371 | (1 font-lock-keyword-face) (2 font-lock-type-face)) |
| 371 | '("\\<\\(namelist\\|common\\)[ \t]*\/\\(\\sw+\\)?\/" | 372 | '("\\<\\(namelist\\|common\\)[ \t]*\/\\(\\sw+\\)?\/" |
| 372 | (1 font-lock-keyword-face) (2 font-lock-constant-face nil t)) | 373 | (1 font-lock-keyword-face) (2 font-lock-constant-face nil t)) |
| @@ -632,7 +633,7 @@ do\\([ \t]*while\\)?\\|select[ \t]*case\\|where\\|forall\\)\\)\\>" | |||
| 632 | "Regexp matching the end of a TYPE, INTERFACE, BLOCK DATA section.") | 633 | "Regexp matching the end of a TYPE, INTERFACE, BLOCK DATA section.") |
| 633 | 634 | ||
| 634 | (defconst f90-type-def-re | 635 | (defconst f90-type-def-re |
| 635 | "\\<\\(type\\)[ \t]+\\(\\sw+\\)\\>" | 636 | "\\<\\(type\\)\\>[ \t]*\\(?:[^()\n]*::[ \t]*\\)?\\(\\sw+\\)" |
| 636 | "Regexp matching the definition of a derived type.") | 637 | "Regexp matching the definition of a derived type.") |
| 637 | 638 | ||
| 638 | (defconst f90-no-break-re | 639 | (defconst f90-no-break-re |