🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #5556

Re: ANSI C token set (including $ and @)

#5556
From: Larry Jones
Date: Thu, 05 Jan 1989 22:25
21 lines
1368 bytes
In article <11343@haddock.ima.isc.com>, karl@haddock.ima.isc.com (Karl Heuer) writes:
> Let's see if I've got this straight yet.
> 
> o  `$' is required to scan as a separate pp-token, despite existing practice
>    making it an optional identifier-character.

I don't believe that '$' is required to scan as anything.  Since
it is not in the C source character set, a conforming compiler is
under no obligation to do anything in particular with it and so
is at liberty to do anyting at all with it.  If an implementation
chooses to allow it in identifiers, that's fine (although it
should diagnose the syntax violation - perhaps by congratulating
you for seeing the value of using names containing dollar
signs).

----
Larry Jones                         UUCP: uunet!sdrc!scjones
SDRC                                      scjones@sdrc.uucp
2000 Eastman Dr.                    BIX:  ltl
Milford, OH  45150                  AT&T: (513) 576-2070
"Save the Quayles" - Mark Russell
Technical Details
Message-ID: <488@sdrc.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!sdrc!scjones
References: <1844@zell.cs.vu.nl> <9244@smoke.BRL.MIL> <11343@haddock.ima.isc.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!sdrc!scjones
From: scjones@sdrc.UUCP (Larry Jones)
Newsgroups: comp.std.c
Subject: Re: ANSI C token set (including $ and @)
Message-ID: <488@sdrc.UUCP>
Date: 5 Jan 89 22:25:14 GMT
References: <1844@zell.cs.vu.nl> <9244@smoke.BRL.MIL> <11343@haddock.ima.isc.com>
Organization: Structural Dynamics Research Corp., Cincinnati
Lines: 21