fixed a crash caused by failing to parse ranged case statements