This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/31754] Include column number along line in error messages main.cpp:5:38
- From: "dseketel at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Jun 2008 21:31:44 -0000
- Subject: [Bug other/31754] Include column number along line in error messages main.cpp:5:38
- References: <bug-31754-13581@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #9 from dseketel at redhat dot com 2008-06-27 21:31 -------
Created an attachment (id=15821)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15821&action=view)
better column number in error patch [2/2]
After applying this patch, all calls to error() gcc/cp/parser.c use an
"accurate" location.
The remaining calls that use the global input_location variable are outside of
the parser.
Some impacted tests have been updated to catch column number regressions.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31754