Improve the way we handle the various parsing "states". Until now
[pspp-builds.git] / src / language / dictionary / formats.c
index 79a6711ea3a3534eb2157a453678825eca9875a7..c325b4082e40a897980d123217e0fcf4323aa3a9 100644 (file)
@@ -79,7 +79,7 @@ internal_cmd_formats (int which)
        break;
 
       if (!parse_variables (default_dict, &v, &cv, PV_NUMERIC))
-       return CMD_PART_SUCCESS_MAYBE;
+       return CMD_FAILURE;
       type = v[0]->type;
 
       if (!lex_match ('('))
@@ -112,5 +112,5 @@ internal_cmd_formats (int which)
 
 fail:
   free (v);
-  return CMD_PART_SUCCESS_MAYBE;
+  return CMD_FAILURE;
 }