Ticket #20 (closed enhancement: fixed)

Opened 6 months ago

Last modified 4 months 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 (4.9 kB) - added by hopscc 4 months ago.

Change History

Changed 5 months 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 4 months 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 4 months ago by hopscc

Changed 4 months ago by hopscc

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

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

Changed 4 months 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.