This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, PR preprocessor/42014] Added LAST_SOURCE_COLUMN in while loop
- From: Marek Polacek <polacek at redhat dot com>
- To: Shakthi Kannan <skannan at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 10 May 2013 09:24:47 +0200
- Subject: Re: [PATCH, PR preprocessor/42014] Added LAST_SOURCE_COLUMN in while loop
- References: <25727585 dot 9579657 dot 1368168666831 dot JavaMail dot root at redhat dot com> <1727363575 dot 9580702 dot 1368168907851 dot JavaMail dot root at redhat dot com>
On Fri, May 10, 2013 at 02:55:07AM -0400, Shakthi Kannan wrote:
> Hi,
>
> The attached patch adds LAST_SOURCE_COLUMN to pp_verbatim
> function in the while loop present in
> diagnostic_report_current_module(). This makes the output
> consistent for any error parsing program as stated in the bug.
>
> 2013-05-10 Shakthi Kannan <skannan@redhat.com>
>
> PR preprocessor/42014
> * gcc/diagnostic.c: Added LAST_SOURCE_COLUMN in while loop.
Maybe
PR preprocessor/42014
* diagnostic.c: Print LAST_SOURCE_COLUMN as well.
?
Marek