From 470582e04372ab9d3079f0da8d6887d339b4a68b Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Tue, 11 Dec 2018 20:00:47 +0900 Subject: [PATCH] kconfig: remove unneeded pattern matching to whitespaces Whitespaces are consumed in the COMMAND state anyway. Signed-off-by: Masahiro Yamada Signed-off-by: Christian Lamparter --- config/zconf.l | 6 ------ 1 file changed, 6 deletions(-) diff --git a/config/zconf.l b/config/zconf.l index 40ccc13..289813d 100644 --- a/config/zconf.l +++ b/config/zconf.l @@ -88,12 +88,6 @@ n [A-Za-z0-9_-] return T_EOL; } [ \t]*#.* - - -[ \t]+ { - BEGIN(COMMAND); -} - . { unput(yytext[0]); BEGIN(COMMAND); -- 2.31.1