diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-12-11 06:00:47 -0500 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-12-12 10:16:23 -0500 |
commit | be3c8075978a420b6eae944250bf336aa11d4964 (patch) | |
tree | c386257bbf3d8c919c31985a20dc7f585be4bd43 /scripts | |
parent | 413cd19d81fd675c6932abf91fe2b54d5ae72c7d (diff) |
kconfig: remove unneeded pattern matching to whitespaces
Whitespaces are consumed in the COMMAND state anyway.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/kconfig/zconf.l | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/scripts/kconfig/zconf.l b/scripts/kconfig/zconf.l index c2f577d71964..709b774f2404 100644 --- a/scripts/kconfig/zconf.l +++ b/scripts/kconfig/zconf.l | |||
@@ -88,12 +88,6 @@ n [A-Za-z0-9_-] | |||
88 | return T_EOL; | 88 | return T_EOL; |
89 | } | 89 | } |
90 | [ \t]*#.* | 90 | [ \t]*#.* |
91 | |||
92 | |||
93 | [ \t]+ { | ||
94 | BEGIN(COMMAND); | ||
95 | } | ||
96 | |||
97 | . { | 91 | . { |
98 | unput(yytext[0]); | 92 | unput(yytext[0]); |
99 | BEGIN(COMMAND); | 93 | BEGIN(COMMAND); |