Newsgroups: comp.lang.c Path: utzoo!henry From: henry@utzoo.uucp (Henry Spencer) Subject: Re: quotes inside #if 0 Message-ID: <1989Sep6.163608.20143@utzoo.uucp> Organization: U of Toronto Zoology References: <2014@munnari.oz.au> <14512@haddock.ima.isc.com> <2023@munnari.oz.au> Date: Wed, 6 Sep 89 16:36:08 GMT In article <2023@munnari.oz.au> ok@cs.mu.oz.au (Richard O'Keefe) writes: >... There was never any suggestion in any book >that #if 0-ed code had to have balanced single quotes, ... There was never any suggestion that it didn't, either. One should avoid the mistake of assuming that books contain all the answers, and that the apparent lack of a definite answer can always be resolved by a sufficiently narrow and legalistic reading. The fact is, this little detail simply was never specified properly. >the only C >compiler I've ever come across (I've used about a dozen) that complains >about it is the only one I've used that tries to be ANSI-compliant. This is coincidence. Let me guess -- most of those dozen were Unix compilers, right? Then you haven't used a dozen compilers, you've used one or two, because most of the Unix ones are the same compiler under the hood. Compilers that would not accept your construct existed long before X3J11 got started. -- V7 /bin/mail source: 554 lines.| Henry Spencer at U of Toronto Zoology 1989 X.400 specs: 2200+ pages. | uunet!attcan!utzoo!henry henry@zoo.toronto.edu