Subject: Re: bug#345: Bug in F90 mode

From: Glenn Morris <[email-masked]>
Date: Mon, 02 Jun 2008 16:29:59 -0400

Gabor Toth wrote:

> The bug is present in every version of emacs I know of.

I can't reproduce it in Emacs 21.4, 22.1 or 22.2.

(The CVS trunk does have a separate problem here; funny coincidence.)

> (defconst f90-type-def-re
>   "\\<\\(type\\)\\([^(\n]*\\)\\(::\\)?[ \t]*\\b\\(\\sw+\\)")

This form was replaced 6 years ago, ie in Emacs 21.3.

I strongly advise you to use a more recent version of Emacs (the
latest is 22.2), where we have the equivalent of:

(setq f90-type-def-re "\\<\\(type\\)\\>\\(?:[^()\n]*::\\)?[ \t]*\\(\\sw+\\)")