🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #966

Re: Macro names imbedded in pp-numbers [repost]

#966
From: Larry Jones
Date: Sun, 19 Nov 1989 20:15
26 lines
1503 bytes
In article <3060@splut.conmicro.com>, jay@splut.conmicro.com (Jay "you ignorant splut!" Maynard) writes:
> In article <11641@smoke.BRL.MIL> gwyn@brl.arpa (Doug Gwyn) writes:
> >pp-numbers work well for the
> >intended purpose and cause problems only in very rare circumstances
> >and only for programmers with an obsessive aversion to white space.
> 
> Uhm, Doug...does this mean that the behavior of a program differs with
> the use or non-use of white space? Isn't this different from the rest of
> C?

Well, not to put words in Doug's mouth ;-), but consider the
following:

	i--1	vs	i - -1
	i/*p	vs	i / *p
	i=-1	vs	i = -1	(obsolete)

Although whitespace (or lack thereof) USUALLY doesn't make a
difference, it's not unprecidented.
----
Larry Jones                         UUCP: uunet!sdrc!scjones
SDRC                                      scjones@SDRC.UU.NET
2000 Eastman Dr.                    BIX:  ltl
Milford, OH  45150-2789             AT&T: (513) 576-2070
"You know how Einstein got bad grades as a kid?  Well MINE are even WORSE!"
-Calvin
Technical Details
Message-ID: <956@sdrc.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!sdrc!scjones
References: <11134@riks.csl.sony.co.jp> <15217@haddock.ima.isc.com> <3060@splut.conmicro.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!sdrc!scjones
From: scjones@sdrc.UUCP (Larry Jones)
Newsgroups: comp.std.c
Subject: Re: Macro names imbedded in pp-numbers [repost]
Message-ID: <956@sdrc.UUCP>
Date: 19 Nov 89 20:15:16 GMT
References: <11134@riks.csl.sony.co.jp> <15217@haddock.ima.isc.com> <3060@splut.conmicro.com>
Organization: SDRC, Cincinnati
Lines: 26