(Non) Nesting block comments
Michiel Helvensteijn
m.helvensteijn.remove at gmail.com
Tue Jul 21 05:13:51 PDT 2009
Michel Fortin wrote:
> /*
> A
> /*/
> B
> /**/
>
> With this, you compile B while A is in a comment. Add "/" at the start
> of the first line and you compile code A while B is now in commented
> out.
Aha. Interesting construction. I like it. No, you couldn't do that with
nesting comments. I do wonder how often it comes up.
--
Michiel Helvensteijn
More information about the Digitalmars-d
mailing list