diff mbox

[v2,4/5] kconfig: remove unused definition from scanner

Message ID 6919090.x7HmALeZ5D@tacticalops (mailing list archive)
State New, archived
Headers show

Commit Message

Martin Walch Oct. 3, 2013, 5:25 p.m. UTC
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 mbox

Patch

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