From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20531 invoked by alias); 14 May 2002 14:36:03 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 20498 invoked by uid 71); 14 May 2002 14:36:02 -0000 Date: Tue, 14 May 2002 07:36:00 -0000 Message-ID: <20020514143602.20493.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Wolfgang Bangerth Subject: Re: c++/6601: [parser] Parse error when using :: qualified name in template Reply-To: Wolfgang Bangerth X-SW-Source: 2002-05/txt/msg00386.txt.bz2 List-Id: The following reply was made to PR c++/6601; it has been noted by GNATS. From: Wolfgang Bangerth To: gcc-gnats@gcc.gnu.org, , , Cc: Subject: Re: c++/6601: [parser] Parse error when using :: qualified name in template Date: Tue, 14 May 2002 16:27:58 +0200 (CEST) About this: > MyTemplate<::X> test; This is not a bug in the parser, but has to do with di-graphs: the sequence "<:" is considered equivalent to the token "[". Thus, inserting a space between the "<" and "::" resolves this, making the two separate tokens. Since this is standard conforming behavior, the bug report should be closed. (There are already some reports about this in the data base, among which is by me -- that's why I know :-) Regards Wolfgang ------------------------------------------------------------------------- Wolfgang Bangerth email: bangerth@math.ethz.ch www: http://www.math.ethz.ch/~bangerth