patch-1.3.39 linux/scripts/tkparse.h

Next file: linux/versions.mk
Previous file: linux/scripts/tkparse.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.38/linux/scripts/tkparse.h linux/scripts/tkparse.h
@@ -11,6 +11,10 @@
   tok_else, 
   tok_fi, 
   tok_int,
+  tok_sound,
+  tok_define,
+  tok_choose,
+  tok_choice,
   tok_unknown
 };
 
@@ -18,12 +22,14 @@
   op_eq,
   op_neq,
   op_and,
+  op_and1,
   op_or,
   op_bang,
   op_lparen,
   op_rparen,
   op_variable,
   op_kvariable,
+  op_shellcmd,
   op_constant,
   op_nuked
 };
@@ -43,21 +49,24 @@
 
 #define GLOBAL_WRITTEN  1
 #define CFG_DUP 	2
+#define UNSAFE		4
 
 struct kconfig
 {
-  struct kconfig * next;
-  int flags;
-  enum token tok;
-  char   menu_number;
-  char   menu_line;
-  char   submenu_start;
-  char   submenu_end;
-  char * optionname;
-  char * dflt;
-  char * label;
-  union var depend;
-  struct condition * cond;
+  struct kconfig 	* next;
+  int 			  flags;
+  enum 			  token tok;
+  char   		  menu_number;
+  char   		  menu_line;
+  char   		  submenu_start;
+  char   		  submenu_end;
+  char 			* optionname;
+  char 			* label;
+  char 			* value;
+  int   		  choice_value;
+  struct kconfig        * choice_label;
+  union var 		  depend;
+  struct condition 	* cond;
 };
 
 extern struct kconfig * config;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this