Make parser exit after syntax error