Lexical analyzer do not show any error because it just compare the tokens with identifiers it does not check the spelling .
The lexical analyzer matches the tokens with identifiers and stores it into symbol table . spelling checking is done by semantic analyzer.