# vs. ## -- wha?

Michael michael at stb.UUCP
Tue Apr 26 17:21:34 AEST 1988


Wait a second...what is #x[0]? I thought the unreadable/unexpandable # and
## were to be replaced by #op or something similar. What are # and ##
defined, and is it possible for ### to legally occur?

(I can see it now: C-88 has #,##, C-99 adds ###, C-10 adds ####, modifies ##
(after all, every fortran modifies something before it), etc. Pretty soon,
people are saying, "I don't know what the preprocessor of the future will
output, but it will still be called cpp.") :-)
			Michael
p.s. To give you an idea of the unreadablility, I remember that ## was to
replace /**/ as a token joiner (please don't say it was restricted to
just joining strings or I will kill every ansi board member myself),
and that # had something to do with character constants (I don't remember
the exact details, but I followed this discussion heavily when it first
came out, and could have told you back then.)
-- 
: Michael Gersten          uunet.uu.net!ucla-an.ANES\ 
:				 ihnp4!hermix!ucla-an!denwa!stb!michael
:				sdcsvax!crash!gryphon!denwa!stb!michael
: "This signature is too tame; anyone got some gasoline? "



More information about the Comp.lang.c mailing list