Re: Multi-line comments
- Posted by DerekParnell (admin) Feb 23, 2009
- 1035 views
ghaberek said...
That's why I suggested --/ open /-- close. Since --/ is already a comment, the interpreter just waits until /-- to continue reading code...
Sorry Greg, I meant to reply to this one earlier too, but I got side-tracked.
The problem with "/" is that this sequence of characters is already in use in a lot files as an informal code for embedded documentation, which can be extracted by tools to create HTML docs or similar. And as I've shown, "/--" is already ambiguous without a context so that will slow down the parsing a bit.