From patchwork Tue Dec 11 11:00:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 153419 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp474549ljp; Tue, 11 Dec 2018 03:01:44 -0800 (PST) X-Google-Smtp-Source: AFSGD/VOKzL2evjc1CNUAP7MC7xgOr8G21pGGyI8BLGDjjCA1Blri4yD3g8Yyy7C7SJXi9qzCxQt X-Received: by 2002:a63:396:: with SMTP id 144mr14356463pgd.68.1544526104302; Tue, 11 Dec 2018 03:01:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544526104; cv=none; d=google.com; s=arc-20160816; b=ILOiMZigkygVl7+LOHfjh7cUq6tl83Y+8qOuk35XqFPv0LOCBHI+WZjl9qZpgWXTah 21A020C9SxkRPo1QT651RrdsR5YwBnaKdVmBmVNDnv9EMl6qepSMFmIbqB91ec8nUgq2 dCJ9uk8U+AKnu+0w3ab+qdqq3pLshmIMeVI9WVYv3TkIe+ewHBoABGpxhiqU/DWi3kGt VbypmjegxeS2snLB8zgy4wQ96pY0kSvL+kQ+wFfvNsxlG96MqLLJX8zfBMbVzdkwPzAL uXBpPUGx2A/md+tzmo0sYzyJSv6lRQrkYlikJAT6BgCUnZsxRAOPJvNum+L8UY3mJFRE PyyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter; bh=1t+Q4fwv0SRz2WilTNb/OLgd9pvAOdz79A9TL0DwMJ8=; b=Ttt7Vdi1M30GvApImBPzKkUjbQ0KyXS8W2LYau1e4mOpMk2umIQMb2Re0fq2NcY7Xk MZ2xYXR1DLQsQv2NdQiBi7Bl7tjFDjCU3UwlpIuuA0O8/Btaco9a4KhRXtA6E83Od/jJ oEyJhSKOBIy+DNI6etLsiDEPVjp75ttn6hW6xSbFn7k/dfo6hUtBzHVQgcglgkNXLNSy kIrw0vqWH5/mmUAdPSN2zckvbfafeeKxKgtFCwwpGR6LwerbP0A9f7I32dFIaLkRYQpj 1ynD2nYNCc12vOn8ihMtDnCg1AuwYHWDTlKIuXrBijUm79XXnVZcJknhLvXt9uP+wXUa jeDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=1Nk2d1fX; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f4si12431089pfc.234.2018.12.11.03.01.44; Tue, 11 Dec 2018 03:01:44 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=1Nk2d1fX; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726638AbeLKLBm (ORCPT + 31 others); Tue, 11 Dec 2018 06:01:42 -0500 Received: from conuserg-11.nifty.com ([210.131.2.78]:36643 "EHLO conuserg-11.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726527AbeLKLBl (ORCPT ); Tue, 11 Dec 2018 06:01:41 -0500 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-11.nifty.com with ESMTP id wBBB1C5p017210; Tue, 11 Dec 2018 20:01:22 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-11.nifty.com wBBB1C5p017210 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1544526083; bh=1t+Q4fwv0SRz2WilTNb/OLgd9pvAOdz79A9TL0DwMJ8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=1Nk2d1fX7ADINjEyR7E4QMZIWWLrhhJzFkvXc0QwOL1jgBEgl3uAjbseNp0Wfsf/Z rBuFgs9sWDTyyANy7FmlfqhFmngmMkiDSiGarBC6SRIlftMxdW+7wWqofE/KW/9cVo ZvsdtROPWUd3bN+pye77gTxzGmcDrkk1BZeMt7WqdXpVYhkjwliNQAN4CU+i3fSQJ2 2JvvnrKbrpsA3VSLt/8DwJi1hWlS3V76mgeSUayQgz0Z0mgoVpHy8A1srp7HuDm3dt AFDIFcQlH5Fte6ZmPGciie3PR3WNsVMT1sguxqzyTumAKBW/hessqZvybOmlyiJhJP avrjdrm8IEEng== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Ulf Magnusson , linux-kernel@vger.kernel.org, Masahiro Yamada Subject: [PATCH 14/27] kconfig: rename depends_list to comment_option_list Date: Tue, 11 Dec 2018 20:00:57 +0900 Message-Id: <1544526070-16690-15-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1544526070-16690-1-git-send-email-yamada.masahiro@socionext.com> References: <1544526070-16690-1-git-send-email-yamada.masahiro@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Now the comment_stmt is the only user of depends_list. Rename it to comment_option_list Signed-off-by: Masahiro Yamada --- scripts/kconfig/zconf.y | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) -- 2.7.4 diff --git a/scripts/kconfig/zconf.y b/scripts/kconfig/zconf.y index 7cc8244..7a4bc58 100644 --- a/scripts/kconfig/zconf.y +++ b/scripts/kconfig/zconf.y @@ -379,7 +379,12 @@ comment: T_COMMENT prompt T_EOL printd(DEBUG_PARSE, "%s:%d:comment\n", zconf_curname(), zconf_lineno()); }; -comment_stmt: comment depends_list +comment_stmt: comment comment_option_list +; + +comment_option_list: + /* empty */ + | comment_option_list depends ; /* help option */ @@ -408,11 +413,6 @@ help: help_start T_HELPTEXT /* depends option */ -depends_list: - /* empty */ - | depends_list depends -; - depends: T_DEPENDS T_ON expr T_EOL { menu_add_dep($3);