warning: multi-line comment (why?)

Neil Booth NeilB@earthling.net
Mon Sep 25 15:53:00 GMT 2000


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.


More information about the Gcc mailing list