Whitespace changes only.
[pspp] / src / language / expressions / evaluate.c
index afb742ffeae06de29b57ba327bd85a41a753aaeb..aa85f2c354004db4d3f0715dade21b9003dc59a3 100644 (file)
@@ -152,7 +152,7 @@ cmd_debug_evaluate (struct lexer *lexer, struct dataset *dsother UNUSED)
               goto done;
             }
 
-         if  ( ds == NULL )
+         if  (ds == NULL)
            {
              ds = dataset_create (NULL, "");
              d = dataset_dict (ds);
@@ -181,13 +181,9 @@ cmd_debug_evaluate (struct lexer *lexer, struct dataset *dsother UNUSED)
       else
         break;
     }
-  if (lex_token (lexer) != T_SLASH)
-    {
-      lex_force_match (lexer, T_SLASH);
-      goto done;
-    }
 
-  lex_get (lexer);
+  if (!lex_force_match (lexer, T_SLASH))
+      goto done;
 
   expr = expr_parse_any (lexer, ds, optimize);
   if (!expr || lex_end_of_command (lexer) != CMD_SUCCESS)