From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19707 invoked by alias); 16 Feb 2003 00:16:00 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 19692 invoked by uid 71); 16 Feb 2003 00:16:00 -0000 Date: Sun, 16 Feb 2003 00:16:00 -0000 Message-ID: <20030216001600.19691.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: "Joseph S. Myers" Subject: Re: c/8927: Gcc give error for wrong line of C code. Reply-To: "Joseph S. Myers" X-SW-Source: 2003-02/txt/msg00676.txt.bz2 List-Id: The following reply was made to PR c/8927; it has been noted by GNATS. From: "Joseph S. Myers" To: Neil Booth Cc: Steven Bosscher , , , , Wolfgang Bangerth Subject: Re: c/8927: Gcc give error for wrong line of C code. Date: Sun, 16 Feb 2003 00:09:54 +0000 (GMT) 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