diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-12-11 14:01:00 +0300 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-12-21 18:25:52 +0300 |
commit | ce2164ab58316e27180034112f97608a764f5b37 (patch) | |
tree | 80f0ee899851907326026719a912e3a3d664b7dd /scripts/kconfig/kconf_id.c | |
parent | 3c8f317d4cf15e7a67457cfdd1e63182a34bcb69 (diff) | |
download | linux-ce2164ab58316e27180034112f97608a764f5b37.tar.xz |
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>
Diffstat (limited to 'scripts/kconfig/kconf_id.c')
-rw-r--r-- | scripts/kconfig/kconf_id.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/scripts/kconfig/kconf_id.c b/scripts/kconfig/kconf_id.c index ec2c011f9e62..f8b222cc8b87 100644 --- a/scripts/kconfig/kconf_id.c +++ b/scripts/kconfig/kconf_id.c @@ -30,9 +30,6 @@ static struct kconf_id kconf_id_array[] = { { "visible", T_VISIBLE, TF_COMMAND }, { "option", T_OPTION, TF_COMMAND }, { "on", T_ON, TF_PARAM }, - { "modules", T_OPT_MODULES, TF_OPTION }, - { "defconfig_list", T_OPT_DEFCONFIG_LIST, TF_OPTION }, - { "allnoconfig_y", T_OPT_ALLNOCONFIG_Y, TF_OPTION }, }; #define KCONF_ID_ARRAY_SIZE (sizeof(kconf_id_array)/sizeof(struct kconf_id)) |