6 * Token types (mostly statement types).
25 token_mainmenu_option
,
34 * Operator types for conditionals.
54 * Conditions come in linked lists.
55 * Some operators take strings:
58 * op_variable "$ARCH", "$CONFIG_PMAC"
59 * op_kvariable "$CONFIG_EXPERIMENTAL"
61 * Most "$..." constructs refer to a variable which is defined somewhere
62 * in the script, so they become op_kvariable's instead. Note that it
63 * is legal to test variables which are never defined, such as variables
64 * that are meaningful only on other architectures.
69 struct condition
* next
;
71 const char * str
; /* op_constant, op_variable */
72 struct kconfig
* cfg
; /* op_kvariable */
76 * A statement from a config.in file
81 struct kconfig
* next
;
86 struct condition
* cond
;
87 char * depend
; /* token_dep_tristate */
88 struct kconfig
* cfg_parent
; /* token_choice_item */
90 /* used only in tkgen.c */
94 struct kconfig
* menu_next
;
103 extern void fix_conditionals ( struct kconfig
* scfg
); /* tkcond.c */
104 extern void dump_tk_script ( struct kconfig
* scfg
); /* tkgen.c */