This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c++/6601: [parser] Parse error when using :: qualified name in template


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]