OSDN Git Service

kconfig: remove unused definition from scanner
authorMartin Walch <walch.martin@web.de>
Thu, 3 Oct 2013 16:33:47 +0000 (18:33 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Tue, 8 Oct 2013 21:52:15 +0000 (23:52 +0200)
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

index 6555a47..1a9f53e 100644 (file)
@@ -68,7 +68,6 @@ static void alloc_string(const char *str, int size)
 }
 %}
 
-ws     [ \n\t]
 n      [A-Za-z0-9_]
 
 %%