Path: utzoo!mnetor!uunet!steinmetz!davidsen From: davidsen@steinmetz.steinmetz.ge.com (William E. Davidsen Jr) Newsgroups: comp.lang.c Subject: Re: 3B2 cpp #ifdef + #include Message-ID: <10171@steinmetz.steinmetz.ge.com> Date: 30 Mar 88 13:38:44 GMT References: <109@iquery.UUCP> <3127@csli.STANFORD.EDU> <3210@haddock.ISC.COM> Reply-To: davidsen@crdos1.UUCP (bill davidsen) Organization: General Electric CRD, Schenectady, NY Lines: 24 In article <3210@haddock.ISC.COM> karl@haddock.ima.isc.com (Karl Heuer) writes: | [...] | should be legal. This is indeed a bug in certain preprocessors. Similarly, I | believe that the warning produced by | #ifdef vms | #ifdef foo$bar /* a valid name, in VMS */ | #endif | #endif | on non-VMS systems is inappropriate, though I haven't yet determined what the | latest dpANS says about this. My notes from the Seattle X3J11 meeting at which identifiers were defined states that "upper and lower case alphabetics, digits, and the underscore character" may be used, and that "the first character may not be a digit." Unless that idea has been changed the $ is not a legal character for an identifier. I believe that anything goes in a quoted filename." As a historical note that section was written on the monorail in Seattle after a working lunch... -- bill davidsen (wedu@ge-crd.arpa) {uunet | philabs | seismo}!steinmetz!crdos1!davidsen "Stupidity, like virtue, is its own reward" -me