Add read_escape method to lexer