Fix syntax error in generated case statements. Fix warning on operator
precedence.