public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: Wolfgang Bangerth <bangerth@math.ethz.ch> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, Subject: Re: c++/6601: [parser] Parse error when using :: qualified name in template Date: Tue, 14 May 2002 07:36:00 -0000 [thread overview] Message-ID: <20020514143602.20493.qmail@sources.redhat.com> (raw) The following reply was made to PR c++/6601; it has been noted by GNATS. From: Wolfgang Bangerth <bangerth@math.ethz.ch> To: gcc-gnats@gcc.gnu.org, <lerdsuwa@gcc.gnu.org>, <gcc-bugs@gcc.gnu.org>, <rhauser@fnal.gov> 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
next reply other threads:[~2002-05-14 14:36 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-05-14 7:36 Wolfgang Bangerth [this message] -- strict thread matches above, loose matches on Subject: below -- 2002-05-17 14:26 Jason Merrill 2002-05-16 14:26 John Marshall 2002-05-16 13:56 Gabriel Dos Reis 2002-05-16 13:26 Nathan Sidwell 2002-05-16 13:06 Neil Booth 2002-05-16 11:56 Gerald Pfeifer 2002-05-16 1:06 Wolfgang Bangerth 2002-05-14 8:36 Reiner Hauser 2002-05-14 7:00 lerdsuwa
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20020514143602.20493.qmail@sources.redhat.com \ --to=bangerth@math.ethz.ch \ --cc=gcc-prs@gcc.gnu.org \ --cc=nobody@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).