Continue reforming procedure execution. In this phase, get rid of
[pspp-builds.git] / src / language / dictionary / missing-values.c
index 352284b3af1a49957cbe492cb0baf133e8a8c355..0757fb1dc1def6fca52d0d6590cc87ef9d0d6642 100644 (file)
    02110-1301, USA. */
 
 #include <config.h>
-#include "message.h"
+
 #include <stdlib.h>
-#include "command.h"
-#include "data-in.h"
-#include "message.h"
-#include "lexer.h"
-#include "magic.h"
-#include "range-parser.h"
-#include "str.h"
-#include "variable.h"
+
+#include <data/data-in.h>
+#include <procedure.h>
+#include <data/variable.h>
+#include <language/command.h>
+#include <language/lexer/lexer.h>
+#include <language/lexer/range-parser.h>
+#include <libpspp/magic.h>
+#include <libpspp/message.h>
+#include <libpspp/message.h>
+#include <libpspp/str.h>
 
 #include "gettext.h"
 #define _(msgid) gettext (msgid)
 
-#include "debug-print.h"
-
 int
 cmd_missing_values (void)
 {
   struct variable **v;
   size_t nv;
 
-  int retval = CMD_PART_SUCCESS_MAYBE;
+  int retval = CMD_FAILURE;
   bool deferred_errors = false;
 
   while (token != '.')
@@ -149,7 +150,7 @@ cmd_missing_values (void)
  done:
   free (v);
   if (deferred_errors)
-    retval = CMD_PART_SUCCESS_MAYBE;
+    retval = CMD_FAILURE;
   return retval;
 }