1
Vote

Comment in the middle of an condition

description

This Code doesn't parse:
 
        if (i == 1
            /// comment
            && i == 1)
            DoA();
        else
            DoB();
 
 
But I still love your parser!!
 
Thanks,
 Wolfram

comments

debreuil wrote May 19, 2009 at 3:39 PM

nice catch, thank you : )

Tih2000 wrote May 19, 2009 at 3:42 PM

The problem does not only occur in the conditions of if, but also many situation where comments are written in the middle of a structure.
If neccassary I can provide more examples.


Greets,
Wolfram

wrote Feb 14, 2013 at 6:32 PM