02110-1301, USA. */
#include <config.h>
-#include "message.h"
+#include <libpspp/message.h>
#include <stdlib.h>
-#include "command.h"
-#include "dictionary.h"
-#include "message.h"
-#include "lexer.h"
-#include "str.h"
-#include "variable.h"
+#include <language/command.h>
+#include <data/dictionary.h>
+#include <libpspp/message.h>
+#include <language/lexer/lexer.h>
+#include <libpspp/str.h>
+#include <data/variable.h>
#include "gettext.h"
#define _(msgid) gettext (msgid)
-#include "debug-print.h"
-
/* Parses the NUMERIC command. */
int
cmd_numeric (void)
do
{
if (!parse_DATA_LIST_vars (&v, &nv, PV_NONE))
- return CMD_PART_SUCCESS_MAYBE;
+ return CMD_FAILURE;
/* Get the optional format specification. */
if (lex_match ('('))
for (i = 0; i < nv; i++)
free (v[i]);
free (v);
- return CMD_PART_SUCCESS_MAYBE;
+ return CMD_FAILURE;
}
/* Parses the STRING command. */
do
{
if (!parse_DATA_LIST_vars (&v, &nv, PV_NONE))
- return CMD_PART_SUCCESS_MAYBE;
+ return CMD_FAILURE;
if (!lex_force_match ('(')
|| !parse_format_specifier (&f, 0))
for (i = 0; i < nv; i++)
free (v[i]);
free (v);
- return CMD_PART_SUCCESS_MAYBE;
+ return CMD_FAILURE;
}
/* Parses the LEAVE command. */