home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!torolab6.VNET.IBM.COM
- From: lansche@torolab6.VNET.IBM.COM (Martin Lansche)
- Message-ID: <19921116.082300.274@almaden.ibm.com>
- Date: Mon, 16 Nov 92 11:13:05 EST
- Newsgroups: comp.os.os2.programmer
- Subject: Re: Nested Comments in IBM C Set/2
- Disclaimer: This posting represents the poster's views, not those of IBM
- News-Software: UReply 3.0
- References: <c9e-aw.721870314@volga.Berkeley.EDU>
- Lines: 27
-
- In <c9e-aw.721870314@volga.Berkeley.EDU> 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.
- >
- C Set/2 supports /* ... */ style comments and // style comments (as allowed
- in C++). By combining these two styles, and by judicious use of #if 0 ...
- #endif blocks, your pains should be minimal. To enable the // style of
- comments, you must use the /Ss option on the CLI, or choose the following
- options in WorkFrame/2:
- - Options
- - Compile Options
- - Source Code Options
- - Allow use of '//' for comments
-
- Cheers,
- Martin Lansche
- ________________________________________________________________________
- Ilu Iluvatar en kare eldain a firimoin ar antarota mannar valion :
- numessier. Toi aina, mana, meldielto -- enga morion : talantie.
- ----------------------------------------------------------------------
- The father made the world for elves and mortals and he gave it into
- the hands of the Lords in the West. They are blessed, holy and loved,
- except the black one. He has fallen.
- ________________________________________________________________________
- (J.R.R. Tolkien).
-