2011-05-19 Glenn Morris <rgm@gnu.org>
+ * progmodes/f90.el (f90-type-def-re):
+ Handle "type, bind(c)". (Bug#8691)
+
* emacs-lisp/autoload.el (batch-update-autoloads):
Set autoload-excludes by parsing loadup.el rather than Makefiles.
;; type word
;; type :: word
;; type, stuff :: word
+ ;; type, bind(c) :: word
;; NOT "type ("
- "\\<\\(type\\)\\>\\(?:[^()\n]*::\\)?[ \t]*\\(\\sw+\\)"
+ "\\<\\(type\\)\\>\\(?:\\(?:[^()\n]*\\|\
+.*,[ \t]*bind[ \t]*([ \t]*c[ \t]*)[ \t]*\\)::\\)?[ \t]*\\(\\sw+\\)"
"Regexp matching the definition of a derived type.")
(defconst f90-typeis-re