This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Emacs and GFortran


> (eval-after-load "compile"
>    '(setq compilation-error-regexp-alist
>        (cons '("^\\(?:In\\| In\\) file \\(.+\\):\\([0-9]+\\)" 1 2)
>           compilation-error-regexp-alist)))

No reason for a regexp group here: just begin it with "^ ?In file", or
perhaps even "^ *In file", "^[\t\n ]*In file", or "^\s-*In file",
depending on the generality desired (and, in the last case, on the syntax
table for Compilation mode).

Davis

-- 
This product is sold by volume, not by mass.  If it appears too dense or
too sparse, it is because mass-energy conversion has occurred during
shipping.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]