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)
committerChristian Lamparter <chunkeey@gmail.com>
Sun, 10 Feb 2019 21:31:59 +0000 (22:31 +0100)
commit32b7db1e81500db89a9d4565d49c8ec1eab21fd9
treea6423c3716d4b3080a9a309233d80380835e33ac
parent6f9083050fd2aa04490cdd5fb6e52120fb3e74f8
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>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
config/zconf.l