Fixed problem with parsing switch statements.