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


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

I don't know.  But we should be aware that we are deciding about this.
I think it's OK if you leave out the coloumn number when you realise that
you don't know it, but it is dubious to report an incorrect one.

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