Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!mit-eddie!bloom-beacon!deccrl!news.crl.dec.com!shlump.nac.dec.com!mountn.dec.com!minow From: minow@mountn.dec.com (Martin Minow) Newsgroups: comp.lang.c Subject: Non-compiled source text? Message-ID: <2061@mountn.dec.com> Date: 14 Dec 90 21:38:07 GMT Reply-To: minow@bolt.enet.dec.com (Martin Minow) Organization: Digital Equipment Corporation Lines: 20 References: 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). According to a developer (of a "working" compiler) I contacted, Section 3.8 says that text between #if and #endif must consist of "preprocessor tokens." The last item on the list of preprocessor tokens in 3.1, is "each non-white-space character that cannot be one of the above." The intent of the #if ... #endif is to "skip sections of source files conditionally" -- this is what I'm doing. What is the real intent of the standard? Martin Minow minow@bolt.enet.dec.com