This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Question regarding C++ and inline assembler...
David Young <dyoung@vviuh221.vvi.com> writes:
|> > 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
This is wrong. There must not be any whitespace inside tokens (except
string and character literals, of course).
Andreas.
--
Andreas Schwab "And now for something
SuSE Labs completely different."
schwab@suse.de
SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg