diff options
| -rw-r--r-- | lisp/progmodes/f90.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/progmodes/f90.el b/lisp/progmodes/f90.el index 0fd525b07bc..1361d617bc9 100644 --- a/lisp/progmodes/f90.el +++ b/lisp/progmodes/f90.el | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | ;; Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Torbj\"orn Einarsson <T.Einarsson@clab.ericsson.se> | 5 | ;; Author: Torbj\"orn Einarsson <T.Einarsson@clab.ericsson.se> |
| 6 | ;; Last Change: Oct. 14, 1996 | 6 | ;; Last Change: May 29 1997 |
| 7 | ;; Keywords: fortran, f90, languages | 7 | ;; Keywords: fortran, f90, languages |
| 8 | 8 | ||
| 9 | ;; This file is part of GNU Emacs. | 9 | ;; This file is part of GNU Emacs. |
| @@ -999,9 +999,9 @@ Name is nil if the statement has no label." | |||
| 999 | (list struct label))))))) | 999 | (list struct label))))))) |
| 1000 | 1000 | ||
| 1001 | (defsubst f90-looking-at-where-or-forall () | 1001 | (defsubst f90-looking-at-where-or-forall () |
| 1002 | "Return (kind name) if a where or forall statement starts after point. | 1002 | "Return (kind name) if a where or forall block starts after point. |
| 1003 | Name is nil if the statement has no label." | 1003 | Name is nil if the statement has no label." |
| 1004 | (if (looking-at "\\(\\(\\sw+\\)[ \t]*\:\\)?[ \t]*\\(where\\|forall\\)[ \t]*(") | 1004 | (if (looking-at "\\(\\(\\sw+\\)[ \t]*\:\\)?[ \t]*\\(where\\|forall\\)[ \t]*(.*)[ \t]*\\(!\\|$\\)") |
| 1005 | (let (label | 1005 | (let (label |
| 1006 | (struct (f90-match-piece 3))) | 1006 | (struct (f90-match-piece 3))) |
| 1007 | (if (looking-at "\\(\\sw+\\)[ \t]*\:") | 1007 | (if (looking-at "\\(\\sw+\\)[ \t]*\:") |