# HG changeset patch # User Glenn Morris # Date 1212462751 0 # Node ID 35a83ed5a550f315b7377ffb41ce0ef5387b419a # Parent 23898c5b856585d008cf65713711c01905564817 (f90-typedef-matcher, f90-looking-at-type-like): Check that end-of-word follows "type". diff -r 23898c5b8565 -r 35a83ed5a550 lisp/progmodes/f90.el --- a/lisp/progmodes/f90.el Tue Jun 03 03:10:53 2008 +0000 +++ b/lisp/progmodes/f90.el Tue Jun 03 03:12:31 2008 +0000 @@ -440,7 +440,7 @@ Set the match data so that subexpression 1,2 are the TYPE, and type-name parts, respectively." (let (found l) - (while (and (re-search-forward "\\<\\(\\(?:end[ \t]*\\)?type\\)[ \t]*" + (while (and (re-search-forward "\\<\\(\\(?:end[ \t]*\\)?type\\)\\>[ \t]*" limit t) (not (setq found (progn @@ -1213,7 +1213,7 @@ NAME is non-nil only for type." (cond ((save-excursion - (and (looking-at "\\[ \t]*") (goto-char (match-end 0)) (not (looking-at "\\(is\\>\\|(\\)")) (or (looking-at "\\(\\sw+\\)")