kconfig: refactor end token rules
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 11 Dec 2018 11:01:06 +0000 (20:01 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 21 Dec 2018 15:25:54 +0000 (00:25 +0900)
commitcaaebb3c6de3493c7f11f79a5dddc6691a40e55f
tree06a4d167748f5432b813a6e7a774404b0aad40f6
parentf5451582c4e22ce8912aae4950810f3598c9b516
kconfig: refactor end token rules

T_ENDMENU, T_ENDCHOICE, T_ENDIF are the last users of kconf_id
associated with yylval. Refactor them to not use it.

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