OSDN Git Service

kconfig: narrow the scope of variables in the lexer
authorMasahiro Yamada <masahiroy@kernel.org>
Mon, 27 Sep 2021 12:54:36 +0000 (21:54 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Wed, 29 Sep 2021 17:05:10 +0000 (02:05 +0900)
commit65017d8381e2425a1b4cdc4681fadc179635c000
tree44a11dfc9eb5d111c5af953611427efb6084df53
parentd05377e184fc88e965e20606da93387b8fadf493
kconfig: narrow the scope of variables in the lexer

The variables, "ts" and "i", are used locally in the action of
the [ \t]+ pattern in the <HELP> start state.

Define them where they are used.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/kconfig/lexer.l