Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5245687imu; Wed, 19 Dec 2018 07:59:04 -0800 (PST) X-Google-Smtp-Source: AFSGD/X+ZaZdlGz5uroIO8DSyyRFkt1wBOuBwrTRCGXXt6Zlzp4C16mRNxqrtD563EUJ8+p8x3Pq X-Received: by 2002:a62:4d81:: with SMTP id a123mr21676649pfb.122.1545235144150; Wed, 19 Dec 2018 07:59:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545235144; cv=none; d=google.com; s=arc-20160816; b=Tm9iojJ7i6yOahd0DZgT3BnSStr1tt9Lwf9Du+yNNi46ODFIvKfoHfE3qSBB/K1eDG g7pzTlvPMrPpwVc8zgaLMtpapJZQk7tGz3sF/QoJUFl08au1mXYR9TIew9Vth4lnVRnj a8iWqcfwynmwVzd5dPqQaEmNYeRKDeIWvIZ1kh439m+YBW8lYILmq7e1bYk6D3T9j2r1 1wdV3gBQ7e+ZDJiYWLLc07WfL2NihkK4xcC+c2bY5AmW+3ZJvjfAjZYUcRtw1Lb63bte +5Izy7JB7EeA90mmexOr/hF0Z7+eKi0VGVzHL/aBZZRYQc10DYkzXuJE8ybRnFDj8DM+ wUDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature:dkim-filter; bh=oEyUaPRgoOB5/8i/zNyaTV3hiVewFWSWNsRx2RayK7A=; b=g1admCtjxvdAU4JsBlXz+oBPqn7LiUsysq6WhK/qAcdv6rbMqBjNkD0qzxBgeG9Zxj gIvNhc3UGs+29s8bKf+h7V4TqVvCIuRuOaTjurHYBwdNZFzsEc43ciNzzGlz5h68wxKj P9g3mBCByebF+7jlxkfAZFSIEmx1nxvxzco3tkzpZSxUFkXXhkYIbSWyf1kVpOMxS89c J76iZdNA38lpuYjj5j4i+yWiSkSsp82JJAU7t/XzUl9+rSoSWkLJCazJL5XhWHXzwjGe UdfKMBY/DBzM7unDBYqtg0PHItlueMtqorhk1ApRrXRJh1dwT3xQIp4ZlJVbZFJ1pE+Y c0eQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=LHUDZGZD; 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 i90si17239047pli.135.2018.12.19.07.58.48; Wed, 19 Dec 2018 07:59:04 -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=LHUDZGZD; 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 S1729779AbeLSO7t (ORCPT + 99 others); Wed, 19 Dec 2018 09:59:49 -0500 Received: from conssluserg-02.nifty.com ([210.131.2.81]:50823 "EHLO conssluserg-02.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728436AbeLSO7s (ORCPT ); Wed, 19 Dec 2018 09:59:48 -0500 Received: from mail-vs1-f42.google.com (mail-vs1-f42.google.com [209.85.217.42]) (authenticated) by conssluserg-02.nifty.com with ESMTP id wBJExgsI005775; Wed, 19 Dec 2018 23:59:43 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-02.nifty.com wBJExgsI005775 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1545231583; bh=oEyUaPRgoOB5/8i/zNyaTV3hiVewFWSWNsRx2RayK7A=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=LHUDZGZDt3HJpB460baizFQdy+PkwOTA8FdLH0x/Ts0CHUV+GwmDwiZJBv/9AueSf rVVSPLgkbc6JR5Tr4+O5LsB4I2HmCxl//b27PqOJ41I1sx4BfMWfKNmPoT0usS1Ued 86HVwB8hukZg44kz81EaStH2AhtMfQd/7VRCsGg+ACQDkz/SHT3eZQW9MO57yeyP3b nUa06aMAzfhYVM5+paPWFtxGgQiarwLX7xCSmdOmwj2pnn3xzCItrp5djSE68YMwOt Kvdvfsgdeu6CFT1WdwIqUc11I3Yp2k2rmgVcCsaUncIxQF3nHdqJEKdQcA6lZHf7vB pbmm7+pouK33g== X-Nifty-SrcIP: [209.85.217.42] Received: by mail-vs1-f42.google.com with SMTP id x1so12386489vsc.10; Wed, 19 Dec 2018 06:59:43 -0800 (PST) X-Gm-Message-State: AA+aEWbH11o0k++HA/aOnpq6lbsyAN5kUcwAPRevGV1/MsIRGFGGony2 /Ill1TW02S0o9XzyxKOQU751VKne4LrLpshMudg= X-Received: by 2002:a67:385a:: with SMTP id f87mr10388847vsa.179.1545231582289; Wed, 19 Dec 2018 06:59:42 -0800 (PST) MIME-Version: 1.0 References: <1544526070-16690-1-git-send-email-yamada.masahiro@socionext.com> In-Reply-To: <1544526070-16690-1-git-send-email-yamada.masahiro@socionext.com> From: Masahiro Yamada Date: Wed, 19 Dec 2018 23:59:06 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 00/27] kconfig: remove all reduce/shift conflicts, refactor lexer, fix various issues To: Linux Kbuild mailing list Cc: Ulf Magnusson , Linux Kernel Mailing List , linux-arch , "David S. Miller" , David Howells , Thomas Gleixner , Will Deacon , Wolfram Sang , Ingo Molnar , Geert Uytterhoeven , Herbert Xu , Michal Simek , linux-arm-kernel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 11, 2018 at 8:04 PM Masahiro Yamada wrote: > > > When I tryed to change something, I was often hit by annoying > shift/reduce conflicts in the parser. > > The lexer and parser are too cluttered. > > So, I decided to clean-up now. > > - Fix all shift/reduce conflicts in the parser > > - Rewrite the lexer. The linear keyword search was removed. > The number of states descreased from 6 to 4. > > - Fix various subtle issues > > > > Masahiro Yamada (27): > kconfig: fix file name and line number of warn_ignored_character() > kconfig: fix memory leak when EOF is encountered in quotation > kconfig: require T_EOL to reduce visible statement > kconfig: remove unneeded pattern matching to whitespaces > kconfig: refactor pattern matching in STRING state > kconfig: fix ambiguous grammar in terms of new lines > kconfig: clean up EOF handling in the lexer > kconfig: warn no new line at end of file > kconfig: remove grammatically ambiguous "unexpected option" diagnostic > kconfig: remove grammatically ambiguous option_error > kconfig: remove redundant if_block rule > kconfig: remove redundant menu_block rule > kconfig: loosen the order of "visible" and "depends on" in menu entry > kconfig: rename depends_list to comment_option_list > kconfig: remove redundant token defines > kconfig: use distinct tokens for type and default properties > kconfig: refactor scanning and parsing "option" properties > kconfig: use specific tokens instead of T_ASSIGN for assignments > kconfig: use T_WORD instead of T_VARIABLE for variables > microblaze: surround string default in Kconfig with double quotes > treewide: surround file paths in Kconfig files with double quotes > kconfig: ban the use of '.' and '/' in unquoted words > kconfig: refactor end token rules > kconfig: stop associating kconf_id with yylval > kconfig: switch to ASSIGN_VAL state in the second lexer > kconfig: update current_pos in the second lexer > kconfig: remove keyword lookup table entirely Series, applied to kbuild/kconfig. -- Best Regards Masahiro Yamada