6 * Token types (mostly statement types).
20 token_define_tristate
,
31 token_mainmenu_option
,
40 * Operator types for conditionals.
61 * Conditions come in linked lists.
62 * Some operators take strings:
65 * op_variable "$ARCH", "$CONFIG_PMAC", "$CONFIG_EXPERIMENTAL"
67 * Most "$..." constructs refer to a variable which is defined somewhere
68 * in the script. Note that it is legal to test variables which are never
69 * defined, such as variables that are meaningful only on other architectures.
74 struct condition
* next
;
76 const char * str
; /* op_constant */
77 int nameindex
; /* op_variable */
81 * Dependency list for dep_bool, dep_mbool, dep_tristate
87 struct dependency
* next
;
91 * A statement from a config.in file
96 struct kconfig
* next
;
101 struct condition
* cond
;
102 struct dependency
* depend
; /* token_dep_tristate */
103 struct kconfig
* cfg_parent
; /* token_choice_item */
105 /* used only in tkgen.c */
108 struct kconfig
* menu_next
;
118 extern struct variable vartable
[];
119 extern int max_varnum
;
125 extern void fix_conditionals ( struct kconfig
* scfg
); /* tkcond.c */
126 extern void dump_tk_script ( struct kconfig
* scfg
); /* tkgen.c */
127 extern int get_varnum ( char * name
); /* tkparse.c */