Change warnings in Lexer class