#2232 C code fold/unfold -- #if matching with }

open
nobody
None
5
2012-11-13
2009-08-15
anoopt
No

Please try folding the second { or second #if. They are incorrecly being matched to next #endif or }

#if THISMACRO
if(cond1)
{
{
#endif
//code goes here
// and here
#if THISMACRO
}
}
#endif

Screenshot of normal and folded code is attached.

Behaviour observed in 5.4.3 and 5.4.5 Unicode versions. Have not tried any ANSII versions or other Unicode versions.

Discussion

  • anoopt
    anoopt
    2009-08-15

     
    Attachments