Re-use IF code for ELSE IF
Created by: dvkt
Instead of duplicating all the IF statements for ELSE IF, what do you think about checking for ELSE IF early and then just prepending }else to all the regular compiled if(...){ C++ code? That's what I've done in this patch, hopefully it makes sense.
The goal was to prevent simple mistakes in the future - if someone comes in and modifies IF x IS GREATER THAN x for some reason, they might forget to also modify ELSE IF x IS GREATER THAN x.