🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #2278

Re: macro names

#2278
From: Doug Gwyn
Date: Fri, 11 Jan 1991 23:26
9 lines
980 bytes
In article <4640@mcrware.UUCP> jejones@mcrware.UUCP (James Jones) writes:
>Given all this, are the identifiers named in 4.1.2.1 that don't begin with
>__ or _[A-Z] (p.98, lines 7-8) reserved for use as macro names or are they not?

I frankly don't understand why there would be any question about this.
Macro names are ordinary identifiers, as is obvious from 3.1.2.3.
The scope of macro definitions is specified in 3.8.3.5; the phases of
translation (2.1.1.2) ensure that 3.1.2.1 is not relevant for macro
names.
Technical Details
Message-ID: <14828@smoke.brl.mil>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!ames!haven!adm!smoke!gwyn
References: <4640@mcrware.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!ames!haven!adm!smoke!gwyn
From: gwyn@smoke.brl.mil (Doug Gwyn)
Newsgroups: comp.std.c
Subject: Re: macro names
Keywords: name spaces, reserved identifiers
Message-ID: <14828@smoke.brl.mil>
Date: 11 Jan 91 23:26:42 GMT
References: <4640@mcrware.UUCP>
Organization: U.S. Army Ballistic Research Laboratory, APG, MD.
Lines: 9