This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


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

Re: warning: multi-line comment (why?)


Joern Rennecke wrote:-
> > You get diagnostics as reqd by the standard.
> 
> Is that with or without a colomn number?

Ah, now I see what you're getting at.  The \\n case reports the
beginning of the in-progress token; missing \n reports the col number.
Not sure it's worth changing; it's not as if the location is in any
doubt.  Do you think it's worth the extra overhead to get a correctly
reported column number for unexpected EOF?

Neil.

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