add curly brace checking for 'case' and 'default' statements, closes #100