[Bug c++/9851] [3.4/3.5 regression] confusing error message when using '.', not '->'
cvs-commit at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Feb 13 16:13:00 GMT 2004
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-02-13 16:13 -------
Subject: Bug 9851
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_4-branch
Changes by: ian@gcc.gnu.org 2004-02-13 16:13:23
Modified files:
gcc/cp : ChangeLog parser.c
Log message:
PR c++/9851
* parser.c (cp_parser_pseudo_destructor_name): Check for errors on
the type name and look ahead for ::~, and bail out early with a
better error message if the parse is going to fail.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.3892.2.47&r2=1.3892.2.48
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/parser.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.157.2.12&r2=1.157.2.13
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9851
More information about the Gcc-bugs
mailing list