This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c/8927: Gcc give error for wrong line of C code.
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- To: Neil Booth <neil at daikokuya dot co dot uk>
- Cc: Steven Bosscher <s dot bosscher at student dot tudelft dot nl>, <gcc-gnats at gcc dot gnu dot org>, <gcc-bugs at gcc dot gnu dot org>, <gp at qnx dot com>, Wolfgang Bangerth <bangerth at ticam dot utexas dot edu>
- Date: Sun, 16 Feb 2003 00:09:54 +0000 (GMT)
- Subject: 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