home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / os2 / programm / 6472 < prev    next >
Encoding:
Internet Message Format  |  1992-11-16  |  924 b 

  1. Path: sparky!uunet!vnet.ibm.com
  2. From: francis@vnet.ibm.com (Tim Francis)
  3. Message-ID: <19921116.090951.953@almaden.ibm.com>
  4. Date: Mon, 16 Nov 92 12:09:40 EST
  5. Subject: Nested Comments in IBM C Set/2
  6. Newsgroups: comp.os.os2.programmer
  7. References: <c9e-aw.721870314@volga.Berkeley.EDU>
  8. Reply-To: francis@vnet.ibm.com
  9. Organization: IBM Canada Lab, WorkFrame/2 development
  10. Disclaimer: This posting represents the poster's views, not those of IBM
  11. Lines: 12
  12.  
  13. In article <c9e-aw.721870314@volga.Berkeley.EDU>,
  14. c9e-aw@volga (Claudio Fahey) writes:
  15. >
  16. >Does anybody know if the IBM C Set/2 compiler can be
  17. >setup to support nested comments?  It sure is a pain
  18. >uncommenting my comments when I want to comment a large
  19. >section of code.
  20. >
  21.  
  22. Nested comments are not supported by ANSI-conforming compilers.
  23. If you wish to comment out large blocks of code, try surrounding it
  24. by #if 0   and   #endif -- that will work around comments.   -tim
  25.