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


 > >  > 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


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