Added better error handling message to lexer.