patch-1.3.58 linux/scripts/tkparse.c

Next file: linux/scripts/tkparse.h
Previous file: linux/scripts/Configure
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.57/linux/scripts/tkparse.c linux/scripts/tkparse.c
@@ -381,6 +381,11 @@
       tok = tok_fi;
       pnt += 2;
     }
+  else if (strncmp(pnt, "endmenu", 7) == 0) 
+    {
+      tok = tok_endmenu;
+      pnt += 7;
+    }
 
   if( tok == tok_unknown)
     {
@@ -476,6 +481,7 @@
     case tok_else:
     case tok_fi:
     case tok_sound:
+    case tok_endmenu:
       break;
     case tok_if:
       /*
@@ -692,6 +698,7 @@
 	  dump_if(cfg->cond);
 	  break;
 	case tok_nop:
+	case tok_endmenu:
 	  break;
 	default:
 	  printf("\n");

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