kconfig: clean up EOF handling in the lexer
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 11 Dec 2018 11:00:50 +0000 (20:00 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 12 Dec 2018 15:20:09 +0000 (00:20 +0900)
commit0bcc547ec4b03a0b66615694561cce9c5a9a1014
treeeeba0495dd1d97aea2f2270af7e821c86d55ee64
parentcc66bca775eeb81ef24456338bcd97e2e780c236
kconfig: clean up EOF handling in the lexer

A new file should always start in the INITIAL state.

When the lexer bumps into EOF, the lexer must get back to the INITIAL
state anyway. Remove the redundant <<EOF>> pattern in the PARAM state.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
scripts/kconfig/zconf.l