Wiki

Ticket #20 (closed enhancement: fixed)

Opened 17 years ago

Last modified 16 years ago

Allow commenting out of arbitrary code blocks

Reported by: hopscc Owned by: Chuck
Priority: medium Milestone:
Component: Cobra Compiler Version: 0.8.0
Keywords: Cc:

Description

Provide a non-intrusive way to comment out multiple lines/blocks of code.
(precompiler option?)
see  Block or Multiline Comments

Attachments

blockComment1.patch Download (4.9 KB) - added by hopscc 16 years ago.

Change History

Changed 16 years ago by hopscc

Theres some patches for this as a compiler directive and associated test files attached to the end of the "Block or Multiline Comments" link target above

Changed 16 years ago by Chuck

I don't like the syntax for various reasons. See the forum for further discussion and proposal.  http://cobra-language.com/forums/viewtopic.php?f=4&t=129#p598

Changed 16 years ago by hopscc

Changed 16 years ago by hopscc

  • owner set to Chuck
  • status changed from new to assigned

patchfile for syntax using /# and #/ as suggested.
includes testfile and relnotes addition.
Supercedes patch on discussion forum.

Changed 16 years ago by Chuck

  • status changed from assigned to closed
  • resolution set to fixed

Applied.

I also added support for nested block comments.

In the future, I'll also be adding support for inline /# ... #/ comments.

Note: See TracTickets for help on using tickets.