🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #5621

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

#5621
From: Doug Gwyn
Date: Thu, 19 Jan 1989 14:30
10 lines
1057 bytes
In article <504@sdrc.UUCP> scjones@sdrc.UUCP (Larry Jones) writes:
>That's what I thought, too.  But Karl pointed out to me that is
>is possible to write a strictly conforming program that will NOT
>be interpreted correctly by an implementation that allows '$' in
>identifiers.

No, it isn't.  Use of the $ character in an identifier produces
"undefined behavior".  The implementation of free to treat $ like
_ in identifiers, because that cannot affect translation of any
strictly conforming program.
Technical Details
Message-ID: <9438@smoke.BRL.MIL>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!ncis.llnl.gov!ncis!helios.ee.lbl.gov!pasteur!ucbvax!decwrl!labrea!rutgers!cmcl2!adm!smoke!gwyn
References: <11343@haddock.ima.isc.com> <1858@zell.cs.vu.nl> <1989Jan16.204214.15979@utzoo.uucp> <504@sdrc.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!ncis.llnl.gov!ncis!helios.ee.lbl.gov!pasteur!ucbvax!decwrl!labrea!rutgers!cmcl2!adm!smoke!gwyn
From: gwyn@smoke.BRL.MIL (Doug Gwyn )
Newsgroups: comp.std.c
Subject: Re: ANSI C token set (including $ and @)
Message-ID: <9438@smoke.BRL.MIL>
Date: 19 Jan 89 14:30:29 GMT
References: <11343@haddock.ima.isc.com> <1858@zell.cs.vu.nl> <1989Jan16.204214.15979@utzoo.uucp> <504@sdrc.UUCP>
Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) <gwyn>)
Organization: Ballistic Research Lab (BRL), APG, MD.
Lines: 10