Changed DFM from open-at-first-access to explicit-open. Before,
[pspp-builds.git] / src / do-if.c
index 339710696326035de2bf4ec760a9b05dedfe246f..0dd6466a52895ea9c2fe475c4ad2dcab20d34a78 100644 (file)
@@ -155,8 +155,6 @@ cmd_else (void)
 {
   struct do_if_trns *t;
 
-  lex_match_id ("ELSE");
-
   /* Check that we're in a pleasing situation. */
   if (!ctl_stack || ctl_stack->type != CST_DO_IF)
     {
@@ -198,8 +196,6 @@ cmd_end_if (void)
   /* List iterator. */
   struct do_if_trns *iter;
 
-  lex_match_id ("IF");
-
   /* Check that we're in a pleasing situation. */
   if (!ctl_stack || ctl_stack->type != CST_DO_IF)
     {
@@ -252,8 +248,6 @@ parse_do_if (void)
   struct do_if_trns *t;
   struct expression *e;
 
-  lex_match_id ("IF");
-
   e = expr_parse (PXP_BOOLEAN);
   if (!e)
     return NULL;