Break lex early if error found