Menu

#2 Nested if/else structures are not processed correctly

v1.0 (example)
closed
nobody
None
5
2013-11-05
2013-11-05
No

I ran into an issue where nested if/else structures were not processed correctly. The attached sample files demonstrate a similar issue, though not exactly the case I was seeing. I rewrote the code using a simplified stack of Booleans for tracking the nested blocks and whether they are enabled, and everything works properly now.

2 Attachments

Discussion

  • Cole Markham

    Cole Markham - 2013-11-05

    FYI, the patch also includes a fix for bug #1

     
  • Dmitry Rykov

    Dmitry Rykov - 2013-11-05

    Thanks for the solution, just regressed it to java 1.5 and fix small issues

     
  • Dmitry Rykov

    Dmitry Rykov - 2013-11-05
    • status: open --> closed
     

Log in to post a comment.