This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Question regarding C++ and inline assembler...
- To: Alexandre Oliva <oliva at lsd dot ic dot unicamp dot br>
- Subject: Re: Question regarding C++ and inline assembler...
- From: David Young <dyoung at vviuh221 dot vvi dot com>
- Date: Thu, 27 Jan 2000 16:03:15 -0500
- Cc: Scott Bambrough <scottb at netwinder dot org>, gcc at gcc dot gnu dot org
- References: <3890A03F.286F5F4A@netwinder.org><or1z73z1nz.fsf@garnize.lsd.ic.unicamp.br>
- Reply-To: David dot Young at vviuh221 dot vvi dot com
> Anyway, g++ accepts `>>' as `> >' when
> `>' is used as a template bracket
That could be because >> pattern being the ANSI shift-right is defined to
accept white space and comments within the token, so
>>
> >
> /*obnoxious comment*/ >
are all tokenized to the same >> token
-- from my understanding
whereas :: is not part of ANSI-C, thus there does not have to be such
ignoring of white and comments by design.
Please correct me if I'm wrong.
Thanks A Bunch! David Young; VVI-DCS
dyoung@vvi.com