Message ID | 1544526070-16690-4-git-send-email-yamada.masahiro@socionext.com |
---|---|
State | Accepted |
Commit | 413cd19d81fd675c6932abf91fe2b54d5ae72c7d |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp476719ljp; Tue, 11 Dec 2018 03:03:40 -0800 (PST) X-Google-Smtp-Source: AFSGD/VVybbWSaLwUhsGl6roPBEYOwzKEHqUkA0lHy4R1dTsKBTWDR7zRzzSrV3qYr89lrOf8/9s X-Received: by 2002:a17:902:9045:: with SMTP id w5mr14983490plz.32.1544526220838; Tue, 11 Dec 2018 03:03:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544526220; cv=none; d=google.com; s=arc-20160816; b=htD3bmWFQHx+amjAzvplZuwpRI8YJ0D2xC9gTXzMmFXb6YGWQIc2xeOR7og6TGLrSO 6Dq4GK3u4xo3GEWjGctEvq8W/w/7acyz7bzalrLcLnvwKTc1axW79+cnFE2CLxm6em0+ ijNTVPEG2HCSsqHrrBX6GUDs+EszNXEaFUqrR9k10g5mZ1SVbAn/itaQ04EzByZ65swf E0qU5Sy1s/RmA7Csua0a4gMquaH8AURrEu04HQwnY9gnCwSmYt+3/p1p3zP90rOZ8k3K +Rr+U9WtDAeAsUyS3+YJFBB+VyJ30f85AiSBUyctd0SuVA+FxkZ3mDs+p2r1vWFnUyoS 3LTQ== 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=pSsIoFlZj5d5mg6c+vr71NzXFRGXFCZclWcK8cltYHM=; b=GPxFvB3Ulc0dgsaR6c6G/rzGg0gA682NLi7UdOrW1xilQ7AJkeMeC6tn8AHKm4kIR+ 3Y29TPsaDwh7yu0ZOuyv9m2wcI72lN4L4MAbYPZA7safvuZKEf1QfLkChPjsrWTsK1lN fJVK/BKqdOAnZ/S2kPX4YR4ETmFbWvS5itmjKxZrDZ6fLN+LgWoXB1p3nB76oa/no2jk JHpueeFUEtSxchteAv9u1lSQVJoszj0/To4ixwvIUb8r6uKnPYBsCd69WB/TnL0sd92u 0k5OXIENlk/C72DjbeQ/O9zn71WpRRbPEgtU9T9VGoJQasuu81QhptRHKF4h7VDqAxR4 WSZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=untWr3Gp; 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: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q14si11931615pgg.433.2018.12.11.03.03.40; Tue, 11 Dec 2018 03:03:40 -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=untWr3Gp; 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 S1726451AbeLKLDg (ORCPT <rfc822;igor.opaniuk@linaro.org> + 31 others); Tue, 11 Dec 2018 06:03:36 -0500 Received: from conuserg-11.nifty.com ([210.131.2.78]:36644 "EHLO conuserg-11.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726542AbeLKLBl (ORCPT <rfc822;linux-kernel@vger.kernel.org>); 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 wBBB1C5e017210; Tue, 11 Dec 2018 20:01:15 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-11.nifty.com wBBB1C5e017210 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1544526075; bh=pSsIoFlZj5d5mg6c+vr71NzXFRGXFCZclWcK8cltYHM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=untWr3GpnaXWKHOiLx20lIAx1fr7m45U2/IR1ysuZ4TeHec4j70v35Ja58HIVUM9V gGLPewbOoRLGxNp7XV+bJLv8Y0e/wG0MrUdEbsqFjV9ZLJMXv6hEUx1h2rkgnl/fca 94dmE3Xz21hLrOHIQjzdt/a4goOJcPgwYaS1Ov7/AQ5/byAZV61cPaoKuXpPtDGuFI LdgfFDSWTIjliesccDgKjy/NNJZ0E35Nir8VWAw/VeGrxksR9vVnwEQ1Tg36JgmR4p vbvqwtpFg3MbAYcCXR/FO2Tjmv3/nw4/FE0o5E5yMzrkQ5pMk0um+C8cJL/tR4hIh3 ILxNTfTKM6koQ== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada <yamada.masahiro@socionext.com> To: linux-kbuild@vger.kernel.org Cc: Ulf Magnusson <ulfalizer@gmail.com>, linux-kernel@vger.kernel.org, Masahiro Yamada <yamada.masahiro@socionext.com> Subject: [PATCH 03/27] kconfig: require T_EOL to reduce visible statement Date: Tue, 11 Dec 2018 20:00:46 +0900 Message-Id: <1544526070-16690-4-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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series |
kconfig: remove all reduce/shift conflicts, refactor lexer, fix various issues
|
expand
|
diff --git a/scripts/kconfig/zconf.y b/scripts/kconfig/zconf.y index 22fceb2..c28f1a8 100644 --- a/scripts/kconfig/zconf.y +++ b/scripts/kconfig/zconf.y @@ -31,7 +31,7 @@ struct symbol *symbol_hash[SYMBOL_HASHSIZE]; static struct menu *current_menu, *current_entry; %} -%expect 30 +%expect 29 %union { @@ -461,7 +461,7 @@ visibility_list: | visibility_list T_EOL ; -visible: T_VISIBLE if_expr +visible: T_VISIBLE if_expr T_EOL { menu_add_visibility($2); };
All line-oriented statements should be reduced when seeing a T_EOL token. I guess missing T_EOL for the "visible" statement is just a mistake. This commit decreases one shift/reduce conflict. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> --- scripts/kconfig/zconf.y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.7.4