blob: b6ac02d604f1fbcca8ecc04cf09ac038bcb81fa8 [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
25if, T_IF, TF_COMMAND|TF_PARAM
26endif, T_ENDIF, TF_COMMAND
27depends, T_DEPENDS, TF_COMMAND
28optional, T_OPTIONAL, TF_COMMAND
29default, T_DEFAULT, TF_COMMAND, S_UNKNOWN
30prompt, T_PROMPT, TF_COMMAND
31tristate, T_TYPE, TF_COMMAND, S_TRISTATE
32def_tristate, T_DEFAULT, TF_COMMAND, S_TRISTATE
33bool, T_TYPE, TF_COMMAND, S_BOOLEAN
34boolean, T_TYPE, TF_COMMAND, S_BOOLEAN
35def_bool, T_DEFAULT, TF_COMMAND, S_BOOLEAN
36int, T_TYPE, TF_COMMAND, S_INT
37hex, T_TYPE, TF_COMMAND, S_HEX
38string, T_TYPE, TF_COMMAND, S_STRING
39select, T_SELECT, TF_COMMAND
40range, T_RANGE, TF_COMMAND
41visible, T_VISIBLE, TF_COMMAND
42option, T_OPTION, TF_COMMAND
43on, T_ON, TF_PARAM
44modules, T_OPT_MODULES, TF_OPTION
45defconfig_list, T_OPT_DEFCONFIG_LIST,TF_OPTION
46env, T_OPT_ENV, TF_OPTION
47allnoconfig_y, T_OPT_ALLNOCONFIG_Y,TF_OPTION
48%%