• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1%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
25---help---,	T_HELP,		TF_COMMAND
26if,		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
41range,		T_RANGE,	TF_COMMAND
42visible,	T_VISIBLE,	TF_COMMAND
43option,		T_OPTION,	TF_COMMAND
44on,		T_ON,		TF_PARAM
45modules,	T_OPT_MODULES,	TF_OPTION
46defconfig_list,	T_OPT_DEFCONFIG_LIST,TF_OPTION
47env,		T_OPT_ENV,	TF_OPTION
48allnoconfig_y,	T_OPT_ALLNOCONFIG_Y,TF_OPTION
49%%
50