This is the mail archive of the gcc-bugs@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]
Other format: [Raw text]

Re: c/8927: Gcc give error for wrong line of C code.


On Sat, 15 Feb 2003, Neil Booth wrote:

> Too bad the front end separates them.  This whole area is currently
> quite messy, and with bison unprofitably hard to fix.  The C++ front

I'll point out again that Bison has built-in support for syntax
productions to have a location as well as a value, although no GCC front
ends currently use it.  (It would at least be reasonable for example front
ends such as treelang to make use of this Bison feature.)

-- 
Joseph S. Myers
jsm28@cam.ac.uk


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