[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: CVS update: MODIFIED: include ...

From: Karl Fogel <kfogel_at_collab.net>
Date: 2001-05-22 20:52:46 CEST

Branko Čibej <brane@xbc.nu> writes:
> >> * svn_types.h: Don't use ## when concatenating string tokens.
> >>
> >
> >Thanks, Joe! I took another look at K&R, and learned why the ## was
> >unnecessary for this simple case.
> >
>
> It's not unnecessary, it's simply wrong. The concatenated result must
> be a valid preprocessing token, which "a""b" is not.Preprocessing
> tokens are parsed in translation phase 3, and string literals aren't
> concatenated till phase 6. See 5.1.1.2, 6.4p1 and 6.10.3.3p3 in the C
> standard.

Yes, but it worked. :-)

> Ahh, it feels so good to be a language lawyer! :-)

My jealousy knows know bounds. You will get an ABR if you try to
fathom its extent.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:30 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.