Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!ccu.umanitoba.ca!mills From: mills@ccu.umanitoba.ca (Gary Mills) Newsgroups: comp.lang.c Subject: Re: C, embedded comments and preprocessors Message-ID: <1990Sep20.000536.19987@ccu.umanitoba.ca> Date: 20 Sep 90 00:05:36 GMT References: <9009191929.AA13849@lilac.berkeley.edu> Organization: University of Manitoba, Winnipeg, Canada Lines: 25 lwv27@CAS.BITNET writes: >I have not been able to afford a copy of the new ANSI std for c, >and perhaps it clarifies the situation. You are relying on nested comments, and even the original K&R states that `comments do not nest'. >I have for some time commented out portions of code by surrounding them by >a construct similar to: A better way to remove some code from the compilation is with: #ifndef OLD_STUFF lines of code /* line comment */ lines of various text's comments lines of code /* line comment */ #endif -- -Gary Mills- -University of Manitoba- -Winnipeg-