blob: ead02edec93614618822bc61d8fcc25197853df5 [file] [log] [blame]
Masahiro Yamadaed16f5a2014-07-30 14:08:13 +09001%language=ANSI-C
2%define hash-function-name kconf_id_hash
3%define lookup-function-name kconf_id_lookup
4%define string-pool-name kconf_id_strings
5%compare-strncmp
6%enum
7%pic
8%struct-type
9
10struct kconf_id;
11
12static const struct kconf_id *kconf_id_lookup(register const char *str, register unsigned int len);
13
14%%
15mainmenu, T_MAINMENU, TF_COMMAND
16menu, T_MENU, TF_COMMAND
17endmenu, T_ENDMENU, TF_COMMAND
18source, T_SOURCE, TF_COMMAND
19choice, T_CHOICE, TF_COMMAND
20endchoice, T_ENDCHOICE, TF_COMMAND
21comment, T_COMMENT, TF_COMMAND
22config, T_CONFIG, TF_COMMAND
23menuconfig, T_MENUCONFIG, TF_COMMAND
24help, T_HELP, TF_COMMAND
Masahiro Yamada238c9b92017-02-11 12:39:54 +090025---help---, T_HELP, TF_COMMAND
Masahiro Yamadaed16f5a2014-07-30 14:08:13 +090026if, T_IF, TF_COMMAND|TF_PARAM
27endif, T_ENDIF, TF_COMMAND
28depends, T_DEPENDS, TF_COMMAND
29optional, T_OPTIONAL, TF_COMMAND
30default, T_DEFAULT, TF_COMMAND, S_UNKNOWN
31prompt, T_PROMPT, TF_COMMAND
32tristate, T_TYPE, TF_COMMAND, S_TRISTATE
33def_tristate, T_DEFAULT, TF_COMMAND, S_TRISTATE
34bool, T_TYPE, TF_COMMAND, S_BOOLEAN
35boolean, T_TYPE, TF_COMMAND, S_BOOLEAN
36def_bool, T_DEFAULT, TF_COMMAND, S_BOOLEAN
37int, T_TYPE, TF_COMMAND, S_INT
38hex, T_TYPE, TF_COMMAND, S_HEX
39string, T_TYPE, TF_COMMAND, S_STRING
40select, T_SELECT, TF_COMMAND
Masahiro Yamada238c9b92017-02-11 12:39:54 +090041imply, T_IMPLY, TF_COMMAND
Masahiro Yamadaed16f5a2014-07-30 14:08:13 +090042range, T_RANGE, TF_COMMAND
43visible, T_VISIBLE, TF_COMMAND
44option, T_OPTION, TF_COMMAND
45on, T_ON, TF_PARAM
46modules, T_OPT_MODULES, TF_OPTION
47defconfig_list, T_OPT_DEFCONFIG_LIST,TF_OPTION
48env, T_OPT_ENV, TF_OPTION
49allnoconfig_y, T_OPT_ALLNOCONFIG_Y,TF_OPTION
50%%