* [PATCH v2 4/5] kconfig: remove unused definition from scanner
@ 2013-10-03 17:25 Martin Walch
0 siblings, 0 replies; only message in thread
From: Martin Walch @ 2013-10-03 17:25 UTC (permalink / raw)
To: linux-kbuild
Cc: Michal Marek, Arve Hjønnevåg, Jiri Kosina,
Yann E. MORIN, Benjamin Poirier, Dirk Gouders, Wang YanQing,
Andrew Morton, Jean Delvare, Kees Cook, linux-kernel
From: Martin Walch <walch.martin@web.de>
Date: Thu, 3 Oct 2013 18:33:47 +0200
Subject: [PATCH v2 4/5] kconfig: remove unused definition from scanner
The definition ws [ \n\t] is not used anywhere. Drop it to avoid confusion.
As it is a dead definition, any changes in the resulting code generated by
flex would be surprising (actually testing this showed that there are really
no changes). So, there is no need to touch the existing zconf.lex.c_shipped.
Signed-off-by: Martin Walch <walch.martin@web.de>
---
scripts/kconfig/zconf.l | 1 -
1 file changed, 1 deletion(-)
diff --git a/scripts/kconfig/zconf.l b/scripts/kconfig/zconf.l
index 6555a47..1a9f53e 100644
--- a/scripts/kconfig/zconf.l
+++ b/scripts/kconfig/zconf.l
@@ -68,7 +68,6 @@ static void alloc_string(const char *str, int size)
}
%}
-ws [ \n\t]
n [A-Za-z0-9_]
%%
--
1.8.1.5
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2013-10-03 17:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-03 17:25 [PATCH v2 4/5] kconfig: remove unused definition from scanner Martin Walch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox