6 * Define this symbol to generate exactly the same output, byte for byte,
7 * as the previous version of xconfig. I need to do this to make sure I
8 * I don't break anything in my moby edit. -- mec
11 #define BUG_COMPATIBLE
14 * Token types (mostly statement types).
33 token_mainmenu_option
,
42 * Operator types for conditionals.
62 * Conditions come in linked lists.
63 * Some operators take strings:
66 * op_variable "$ARCH", "$CONFIG_PMAC"
67 * op_kvariable "$CONFIG_EXPERIMENTAL"
69 * Most "$..." constructs refer to a variable which is defined somewhere
70 * in the script, so they become op_kvariable's instead. Note that it
71 * is legal to test variables which are never defined, such as variables
72 * that are meaningful only on other architectures.
77 struct condition
* next
;
79 const char * str
; /* op_constant, op_variable */
80 struct kconfig
* cfg
; /* op_kvariable */
84 * A statement from a config.in file
89 struct kconfig
* next
;
94 struct condition
* cond
;
95 char * depend
; /* token_dep_tristate */
96 struct kconfig
* cfg_parent
; /* token_choice_item */
98 /* used only in tkgen.c */
102 struct kconfig
* menu_next
;
111 extern void fix_conditionals ( struct kconfig
* scfg
); /* tkcond.c */
112 extern void dump_tk_script ( struct kconfig
* scfg
); /* tkgen.c */