[5/7] kconfig: remove unused definition from scanner
diff mbox

Message ID 3381960031a13d1a1ec7bdef60f6a9931d500371.1383168460.git.yann.morin.1998@free.fr
State New, archived
Headers show

Commit Message

Yann E. MORIN Oct. 30, 2013, 9:46 p.m. UTC
From: Martin Walch <walch.martin@web.de>

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>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: "Yann E. MORIN: <yann.morin.1998@free.fr>
---
 scripts/kconfig/zconf.l | 1 -
 1 file changed, 1 deletion(-)

Patch
diff mbox

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_]
 
 %%