kconfig: refactor scanning and parsing "option" properties
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 11 Dec 2018 11:01:00 +0000 (20:01 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 21 Dec 2018 15:25:52 +0000 (00:25 +0900)
commitce2164ab58316e27180034112f97608a764f5b37
tree80f0ee899851907326026719a912e3a3d664b7dd
parent3c8f317d4cf15e7a67457cfdd1e63182a34bcb69
kconfig: refactor scanning and parsing "option" properties

For the keywords "modules", "defconfig_list", and "allnoconfig_y",
the lexer should pass specific tokens instead of generic T_WORD.

This simplifies both the lexer and the parser.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
scripts/kconfig/kconf_id.c
scripts/kconfig/lkc.h
scripts/kconfig/menu.c
scripts/kconfig/zconf.l
scripts/kconfig/zconf.y