raise parse error on 'case' without a pattern (closes #2415)
Merge pull request #2417 from nadako/2415_case_without_pattern_error

raise parse error on 'case' without a pattern (closes #2415)