#include <language/command.h>
#include <libpspp/compiler.h>
#include <data/data-in.h>
-#include <libpspp/debug-print.h>
#include <language/data-io/data-reader.h>
#include <data/dictionary.h>
#include <libpspp/message.h>
#include <data/variable.h>
#include <procedure.h>
+#include "data-list.h"
+
#include "gettext.h"
#define _(msgid) gettext (msgid)
\f
tab_text (t, 1, i, TAT_PRINTF, "%d", spec->rec);
tab_text (t, 2, i, TAT_PRINTF, "%3d-%3d",
spec->fc, spec->lc);
- tab_text (t, 3, i, TAB_LEFT | TAT_FIX,
+ tab_text (t, 3, i, TAB_LEFT | TAB_FIX,
fmt_to_string (&spec->input));
}
- tab_title (t, 1, ngettext ("Reading %d record from %s.",
- "Reading %d records from %s.", rec_cnt),
+ tab_title (t, ngettext ("Reading %d record from %s.",
+ "Reading %d records from %s.", rec_cnt),
rec_cnt, fh_get_name (fh));
tab_submit (t);
}
for (i = 1, spec = dls->first; spec; spec = spec->next, i++)
{
tab_text (t, 0, i, TAB_LEFT, spec->v->name);
- tab_text (t, 1, i, TAB_LEFT | TAT_FIX, fmt_to_string (&spec->input));
+ tab_text (t, 1, i, TAB_LEFT | TAB_FIX, fmt_to_string (&spec->input));
}
}
- tab_title (t, 1, _("Reading free-form data from %s."), fh_get_name (fh));
+ tab_title (t, _("Reading free-form data from %s."), fh_get_name (fh));
tab_submit (t);
}
static void find_variable_input_spec (struct variable *v,
struct fmt_spec *spec);
+int cmd_repeating_data (void);
+
/* Parses the REPEATING DATA command. */
int
cmd_repeating_data (void)