Newsgroups: comp.std.c Path: utzoo!henry From: henry@utzoo.uucp (Henry Spencer) Subject: Re: ANSI C token set (including $ and @) Message-ID: <1989Jan16.204214.15979@utzoo.uucp> Organization: U of Toronto Zoology References: <11343@haddock.ima.isc.com> <1858@zell.cs.vu.nl> <11383@haddock.ima.isc.com> Date: Mon, 16 Jan 89 20:42:14 GMT In article <11383@haddock.ima.isc.com> karl@haddock.ima.isc.com (Karl Heuer) writes: >`Strictly conforming' is an attribute of programs, not implementations. An >implementation is either ANSI C, or it isn't. According to the rules, >accepting `$' in an identifier seems to yield a non-ANSI implementation. Only if it is not diagnosed (e.g. by a warning message). I'm getting a bit tired of repeating this: accepting extensions does not make a compiler non-conforming. The requirements for a conforming implementation are that it handle all strictly conforming programs correctly, and that it diagnose (not necessarily reject, just diagnose) any construct which is illegal according to the standard. Actually, the character-set issue may be even less severe than this, depending on how the wording goes, but my copy of the October draft went out on a few days' loan a month ago (sigh) and isn't back yet, so I can't check the fine print just now. -- "God willing, we will return." | Henry Spencer at U of Toronto Zoology -Eugene Cernan, the Moon, 1972 | uunet!attcan!utzoo!henry henry@zoo.toronto.edu