kconfig: refactor scanning and parsing "option" properties
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 11 Dec 2018 11:01:00 +0000 (20:01 +0900)
committerChristian Lamparter <chunkeey@gmail.com>
Sun, 10 Feb 2019 21:32:12 +0000 (22:32 +0100)
commit7df515c55fa329c32734a5f93d251170a33f07f5
tree57df0a8e55d1e85115ca8e9aa1823aa67d111c09
parent89d9fc0b2c28b1699ebfaeacde69aad688a2893a
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>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
config/kconf_id.c
config/lkc.h
config/menu.c
config/zconf.l
config/zconf.y