added function to retrieve variable list used in linear model
[pspp] / src / language / dictionary / formats.c
index d6eb8bfbc1e243d3d6e080cd3812f036b19b1a14..c325b4082e40a897980d123217e0fcf4323aa3a9 100644 (file)
@@ -31,8 +31,6 @@
 #include "gettext.h"
 #define _(msgid) gettext (msgid)
 
-#include <libpspp/debug-print.h>
-
 enum
   {
     FORMATS_PRINT = 001,
@@ -81,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 ('('))
@@ -114,5 +112,5 @@ internal_cmd_formats (int which)
 
 fail:
   free (v);
-  return CMD_PART_SUCCESS_MAYBE;
+  return CMD_FAILURE;
 }