diff options
| author | Glenn Morris | 2010-02-05 00:12:08 -0800 |
|---|---|---|
| committer | Glenn Morris | 2010-02-05 00:12:08 -0800 |
| commit | f43d8ecc20470f4021ac2e2900f6f3ef15300ff2 (patch) | |
| tree | fd5d4eda0f151c6889166c5fdf4db01b3e77aa78 | |
| parent | ce3a988d18429158cda0f146042e974de0a14fd8 (diff) | |
| download | emacs-f43d8ecc20470f4021ac2e2900f6f3ef15300ff2.tar.gz emacs-f43d8ecc20470f4021ac2e2900f6f3ef15300ff2.zip | |
* progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/progmodes/f90.el | 5 |
2 files changed, 6 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index b6627e69ccc..77196ad4842 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2010-02-05 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'. | ||
| 4 | |||
| 1 | 2010-02-05 Chong Yidong <cyd@stupidchicken.com> | 5 | 2010-02-05 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 6 | ||
| 3 | * startup.el (command-line-1): Convert options beginning with a | 7 | * startup.el (command-line-1): Convert options beginning with a |
diff --git a/lisp/progmodes/f90.el b/lisp/progmodes/f90.el index 8f95da70464..eda9f4e0155 100644 --- a/lisp/progmodes/f90.el +++ b/lisp/progmodes/f90.el | |||
| @@ -558,9 +558,8 @@ logical\\|double[ \t]*precision\\|\ | |||
| 558 | \\(function\\)\\>[ \t]*\\(\\sw+\\)[ \t]*\\(([^&!\n]*)\\)" | 558 | \\(function\\)\\>[ \t]*\\(\\sw+\\)[ \t]*\\(([^&!\n]*)\\)" |
| 559 | (1 font-lock-type-face t) (4 font-lock-keyword-face t) | 559 | (1 font-lock-type-face t) (4 font-lock-keyword-face t) |
| 560 | (5 font-lock-function-name-face t) (6 'default t)) | 560 | (5 font-lock-function-name-face t) (6 'default t)) |
| 561 | ;; enum (F2003; cf type in -1). | 561 | ;; enum (F2003; must be followed by ", bind(C)"). |
| 562 | '("\\<\\(enum\\)\\>\\([^()\n]*::\\)?[ \t]*\\(\\sw+\\)" | 562 | '("\\<\\(enum\\)[ \t]*," (1 font-lock-keyword-face)) |
| 563 | (1 font-lock-keyword-face) (3 font-lock-function-name-face)) | ||
| 564 | ;; end do, enum (F2003), if, select, where, and forall constructs. | 563 | ;; end do, enum (F2003), if, select, where, and forall constructs. |
| 565 | '("\\<\\(end[ \t]*\\(do\\|if\\|enum\\|select\\|forall\\|where\\)\\)\\>\ | 564 | '("\\<\\(end[ \t]*\\(do\\|if\\|enum\\|select\\|forall\\|where\\)\\)\\>\ |
| 566 | \\([ \t]+\\(\\sw+\\)\\)?" | 565 | \\([ \t]+\\(\\sw+\\)\\)?" |