SnowC - Challenges - Else

In the last post we looked at how challenging it was to just track level depth. To understand the problem better let’s review how singletons can cause mischief. The classic singleton is something like this conceptual code. SINGLETON_KEYWORD (optional_conditions) resolving_statement; The SINGLETON_KEYWORD can be if , for , while , switch , do , or else . When the resolving statement completes, the…