This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: c++/6601: [parser] Parse error when using :: qualified name in template
- From: Jason Merrill <jason at redhat dot com>
- To: Nathan Sidwell <nathan at codesourcery dot com>
- Cc: Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>,Wolfgang Bangerth <bangerth at math dot ethz dot ch>,Reiner Hauser <rhauser at fnal dot gov>, gcc-gnats <gcc-gnats at gcc dot gnu dot org>,lerdsuwa <lerdsuwa at gcc dot gnu dot org>, gcc-bugs <gcc-bugs at gcc dot gnu dot org>,gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 17 May 2002 22:09:28 +0100
- Subject: Re: c++/6601: [parser] Parse error when using :: qualified name in template
- References: <Pine.BSF.4.44.0205162053550.8275-100000@naos.dbai.tuwien.ac.at><3CE4146E.440E7E1D@codesourcery.com>
>>>>> "Nathan" == Nathan Sidwell <nathan@codesourcery.com> writes:
> It might be nicer though to fiddle the grammar so that where
> PTYPENAME < SCOPED_NAME
> appears (under whatever guise it happens to be), we also have the reduction
> PTYPENAME [ : error >
> error ("did you mean '$1 < ::'?")
Sounds good to me. Patch, anyone?
Jason