Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!taumet!steve From: steve@taumet.com (Stephen Clamage) Newsgroups: comp.lang.c Subject: Re: Non-compiled source text? Message-ID: <542@taumet.com> Date: 15 Dec 90 20:23:34 GMT References: <2061@mountn.dec.com> Organization: Taumetric Corporation, San Diego Lines: 18 minow@mountn.dec.com (Martin Minow) writes: >A compiler I occassionally use rejected the following source text: > #if 0 > this doesn't work > #endif >complaining of an unterminated character constant. My reading of the ANSI >standard would permit this (and the compilers I generally use have no >trouble with it). Read the standard again. In section 3.8 and 3.8.1 it is made explicit that #ifdef and #ifndef must be followed by an identifier and then a newline (other white space excepted). "#if 0" is a syntax error. -- Steve Clamage, TauMetric Corp, steve@taumet.com