Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!think.com!barmar From: barmar@think.com (Barry Margolin) Newsgroups: comp.lang.c Subject: Re: structured entry of #if preprocessor commands Message-ID: <1991Feb11.045355.29393@Think.COM> Date: 11 Feb 91 04:53:55 GMT References: <1991Feb10.063915.5476@ccu.umanitoba.ca> <1991Feb10.204604.28908@athena.mit.edu> Sender: news@Think.COM Distribution: na Organization: Thinking Machines Corporation, Cambridge MA, USA Lines: 16 In article <1991Feb10.204604.28908@athena.mit.edu> scs@adam.mit.edu writes: >What I can't explain is why the following style, which most old >compilers would accept, has never been widespread > #if defined(MSDOS) > # if defined(ANSI) I think it's because most people think of the "#" and the keyword as one token ("#if"), even though the language officially considers them independent (the "#" preprocessor indicator followed by the "if" pp command). -- Barry Margolin, Thinking Machines Corp. barmar@think.com {uunet,harvard}!think!barmar