Emacs and GFortran

Nick Roberts nickrob@snap.net.nz
Wed Nov 15 05:50:00 GMT 2006


 > >  > The attached only-slightly-less-trivial patch should fix the 
 > >  > regressions, although I have not yet tested it to confirm that.
 > > 
 > > I guess I'm pushing my luck with current feelings, but would it be
 > > possible to add the column number?
 > 
 > FYI: I just committed a patch to the GCC 4.2 and 4.3 branches that 
 > provides column numbers in the error messages.  The format is as per the 
 > following example:
 > 
 >       ~/temp/>gfortran hello.F
 >       hello.F:3.6:
 > 
 >             write(*,) 'Hello!' 
 > 
 >                  1
 >       Error: Syntax error in WRITE statement at (1)

Thanks, but the error seems to be in column 11 i.e in Emacs the first column
is 0 and the first six (blank) columns are counted too.


-- 
Nick                                           http://www.inet.net.nz/~nickrob



More information about the Fortran mailing list