Raise a LexError on bad lex.