From patchwork Tue Dec 11 11:00:47 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 10723635 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6A09E1759 for ; Tue, 11 Dec 2018 11:03:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5ACFC2A257 for ; Tue, 11 Dec 2018 11:03:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4EED82A215; Tue, 11 Dec 2018 11:03:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 094F32A257 for ; Tue, 11 Dec 2018 11:03:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726513AbeLKLDs (ORCPT ); Tue, 11 Dec 2018 06:03:48 -0500 Received: from conuserg-11.nifty.com ([210.131.2.78]:36642 "EHLO conuserg-11.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726484AbeLKLBl (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 wBBB1C5f017210; Tue, 11 Dec 2018 20:01:16 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-11.nifty.com wBBB1C5f017210 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1544526076; bh=cPNIocFPv6H2B1/axiyEmh1v2T8MzKJrKLpW+Gd7HY4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aQyKw+OkRScUYtir2EO0JVObH/6GLARoAK541skZO7sdQ9dYTR8G7M9qfhecDQacM /Bas/azrcocY4XSQq/ZwjRNbOU3rxbeR1KU1ztfeERDycYEc0vZdhaeTAda7GcyhXb cI5RD1pSnsnx+2DGh0VDDa1L+yiPTMb4tmCHUEKeZ4IyTy5SHtKyWDRk+zprqa/37l Erl5cESk0yVhoSAAG03pIRdVZoiL+8EcUUxqqs8ej04+xuXmUbc0M0w1995h22WMGf KcVxZK8oCfDVqUVOtcK9JC68emG0HzmRhln2lBJ83zmyJzT/670IqbD/P9dvONXfjG Rg4xSal139oZg== 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 04/27] kconfig: remove unneeded pattern matching to whitespaces Date: Tue, 11 Dec 2018 20:00:47 +0900 Message-Id: <1544526070-16690-5-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-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Whitespaces are consumed in the COMMAND state anyway. Signed-off-by: Masahiro Yamada --- scripts/kconfig/zconf.l | 6 ------ 1 file changed, 6 deletions(-) diff --git a/scripts/kconfig/zconf.l b/scripts/kconfig/zconf.l index c2f577d..709b774 100644 --- a/scripts/kconfig/zconf.l +++ b/scripts/kconfig/zconf.l @@ -88,12 +88,6 @@ n [A-Za-z0-9_-] return T_EOL; } [ \t]*#.* - - -[ \t]+ { - BEGIN(COMMAND); -} - . { unput(yytext[0]); BEGIN(COMMAND);