02110-1301, USA. */
#include <config.h>
-#include <libpspp/message.h>
+
#include <stdlib.h>
-#include <language/command.h>
+
#include <data/dictionary.h>
-#include <libpspp/message.h>
+#include <data/procedure.h>
+#include <data/variable.h>
+#include <language/command.h>
+#include <language/lexer/format-parser.h>
#include <language/lexer/lexer.h>
+#include <language/lexer/variable-parser.h>
+#include <libpspp/assertion.h>
+#include <libpspp/message.h>
#include <libpspp/str.h>
-#include <data/variable.h>
#include "gettext.h"
#define _(msgid) gettext (msgid)
/* Get the optional format specification. */
if (lex_match ('('))
{
- if (!parse_format_specifier (&f, 0))
+ if (!parse_format_specifier (&f))
goto fail;
if (formats[f.type].cat & FCAT_STRING)
{
if (!parse_DATA_LIST_vars (&v, &nv, PV_NONE))
return CMD_FAILURE;
- if (!lex_force_match ('(')
- || !parse_format_specifier (&f, 0))
+ if (!lex_force_match ('(') || !parse_format_specifier (&f))
goto fail;
if (!(formats[f.type].cat & FCAT_STRING))
{
width = f.w / 2;
break;
default:
- assert (0);
- abort ();
+ NOT_REACHED ();
}
/* Create each variable. */