Ensure users only see the lex-failed exception on lexing invalid input.