Article View: comp.os.os2.programmer
Article #2972Nested Comments in IBM C Set/2
From: Tim Francis
Date: Mon, 16 Nov 1992 17:09
Date: Mon, 16 Nov 1992 17:09
12 lines
948 bytes
948 bytes
In article <c9e-aw.721870314@volga.Berkeley.EDU>, c9e-aw@volga (Claudio Fahey) writes: > >Does anybody know if the IBM C Set/2 compiler can be >setup to support nested comments? It sure is a pain >uncommenting my comments when I want to comment a large >section of code. > Nested comments are not supported by ANSI-conforming compilers. If you wish to comment out large blocks of code, try surrounding it by #if 0 and #endif -- that will work around comments. -tim
Technical Details
Message-ID:
<19921116.090951.953@almaden.ibm.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!vnet.ibm.comReferences:
<c9e-aw.721870314@volga.Berkeley.EDU>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!vnet.ibm.com From: francis@vnet.ibm.com (Tim Francis) Message-ID: <19921116.090951.953@almaden.ibm.com> Date: Mon, 16 Nov 92 12:09:40 EST Subject: Nested Comments in IBM C Set/2 Newsgroups: comp.os.os2.programmer References: <c9e-aw.721870314@volga.Berkeley.EDU> Reply-To: francis@vnet.ibm.com Organization: IBM Canada Lab, WorkFrame/2 development Disclaimer: This posting represents the poster's views, not those of IBM Lines: 12