diff --git a/scripts/kconfig/zconf.l b/scripts/kconfig/zconf.l index 847ba4248092854c48bcada6fc4a30c3af26665b..9038e9736bf03cf489ab50d1348e429d3885268a 100644 --- a/scripts/kconfig/zconf.l +++ b/scripts/kconfig/zconf.l @@ -178,9 +178,6 @@ n [A-Za-z0-9_-] \\\n ; [[:blank:]]+ . warn_ignored_character(*yytext); - <> { - BEGIN(INITIAL); - } } { @@ -262,6 +259,8 @@ n [A-Za-z0-9_-] } <> { + BEGIN(INITIAL); + if (current_file) { zconf_endfile(); return T_EOL;