fixes #16: BreakStatement wasn't allowed in switch