From patchwork Thu Mar 23 12:20:27 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Polacek X-Patchwork-Id: 742646 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3vply36CCtz9s2Q for ; Thu, 23 Mar 2017 23:20:42 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="k172hUiF"; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type; q=dns; s= default; b=DZI2fYpx5W7k4RTr5Pypk3vTp5U0D9WoFMbiGpPOB1V8NpzLppU3e bGqg+mdip32JVF/FK45kQ5ZT9dcWIjt0l+Ss+k3IeB92Z2mC2Sy6ta1ro0jkeXe5 BOKRyaEd46H1HOYXAEn9WA2+8KkzoZQ6S9lGjWaQvesv5PcGqTISr8= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type; s= default; bh=LHBdTqM/bbzH1+ekWGLLv9w0YYk=; b=k172hUiFmwwxcYR8yP5w b++rditc3hZ0YToqgoQeGvCE2HSFVztap/RIUPpKm1gbohGhZdVNgwsMaioFvtVb ByebSERA/GZzLtN1fLs45hOssTSvaKYlCNequbwPAqo5hE/jcwN50RC1VmYPGxGj mvVq/kQBp0OfIMWUQFEd3tM= Received: (qmail 117944 invoked by alias); 23 Mar 2017 12:20:33 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 117928 invoked by uid 89); 23 Mar 2017 12:20:32 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RP_MATCHES_RCVD, SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=sk:geoffk, U*geoffk, sk:geoffk@ X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 23 Mar 2017 12:20:31 +0000 Received: from smtp.corp.redhat.com (int-mx16.intmail.prod.int.phx2.redhat.com [10.5.11.28]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 10BC761D33 for ; Thu, 23 Mar 2017 12:20:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 10BC761D33 Authentication-Results: ext-mx10.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx10.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=polacek@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 10BC761D33 Received: from redhat.com (ovpn-204-30.brq.redhat.com [10.40.204.30]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 471612D5E9 for ; Thu, 23 Mar 2017 12:20:31 +0000 (UTC) Date: Thu, 23 Mar 2017 13:20:27 +0100 From: Marek Polacek To: GCC Patches Subject: C/C++ PATCH to drop references to C_RID_YYCODE Message-ID: <20170323122027.GY3172@redhat.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.7.1 (2016-10-04) C_RID_YYCODE was deleted a long time ago: 2003-02-18 Geoffrey Keating * cp-tree.h (rid_to_yy): Delete. (C_RID_YYCODE): Delete. (finish_file): Delete redundant declaration. so let's 86 the references to it. Applying to trunk. 2017-03-23 Marek Polacek * c-tree.h: Remove a C_RID_YYCODE reference. * cp-tree.h: Remove a C_RID_YYCODE reference. Marek diff --git gcc/c/c-tree.h gcc/c/c-tree.h index 13e40e6..9428d74 100644 --- gcc/c/c-tree.h +++ gcc/c/c-tree.h @@ -43,8 +43,7 @@ along with GCC; see the file COPYING3. If not see #define C_TYPE_INCOMPLETE_VARS(TYPE) TYPE_VFIELD (TYPE) /* In an IDENTIFIER_NODE, nonzero if this identifier is actually a - keyword. C_RID_CODE (node) is then the RID_* value of the keyword, - and C_RID_YYCODE is the token number wanted by Yacc. */ + keyword. C_RID_CODE (node) is then the RID_* value of the keyword. */ #define C_IS_RESERVED_WORD(ID) TREE_LANG_FLAG_0 (ID) /* Record whether a type or decl was written with nonconstant size. diff --git gcc/cp/cp-tree.h gcc/cp/cp-tree.h index 5be5dfe..9f02a97 100644 --- gcc/cp/cp-tree.h +++ gcc/cp/cp-tree.h @@ -346,8 +346,7 @@ identifier_p (tree t) } /* In an IDENTIFIER_NODE, nonzero if this identifier is actually a - keyword. C_RID_CODE (node) is then the RID_* value of the keyword, - and C_RID_YYCODE is the token number wanted by Yacc. */ + keyword. C_RID_CODE (node) is then the RID_* value of the keyword. */ #define C_IS_RESERVED_WORD(ID) TREE_LANG_FLAG_5 (ID)