Skip to content
  • Sven/Sarah Barth's avatar
    Implement simplification of ordinal case nodes if the case expression is... · 50092003
    Sven/Sarah Barth authored
    Implement simplification of ordinal case nodes if the case expression is constant (might be useful when inlining).
    
    + nset.pas, tcasenode: add simplify method; for ordinal constant case expressions either return a copy of the correct block or return a nothing node if the constant did not match anything
    
    + added test to check that nothing is broken
    
    git-svn-id: trunk@26824 -
    50092003