2013-10-03 17:26:34

by Martin Walch

[permalink] [raw]
Subject: [PATCH v2 4/5] kconfig: remove unused definition from scanner

From: Martin Walch <[email protected]>
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 <[email protected]>
---
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