Remove unnecessary states for newlines between messages
Raise exceptions when parsing enters an error state