#include "language/expressions/public.h"
#include "language/lexer/lexer.h"
#include "libpspp/message.h"
-#include "output/text-item.h"
+#include "output/output-item.h"
#include "gl/xalloc.h"
{
double f = expr_evaluate_num (trns->expr, *c, case_num);
if (f == SYSMIS)
- msg (SW, _("The expression on PRINT SPACE evaluated to the "
- "system-missing value."));
+ msg (SW, _("The expression on %s evaluated to the "
+ "system-missing value."), "PRINT SPACE");
else if (f < 0 || f > INT_MAX)
- msg (SW, _("The expression on PRINT SPACE evaluated to %g."), f);
+ msg (SW, _("The expression on %s evaluated to %g."), "PRINT SPACE", f);
else
n = f;
}
while (n--)
if (trns->writer == NULL)
- text_item_submit (text_item_create (TEXT_ITEM_BLANK_LINE, ""));
+ output_item_submit (text_item_create (TEXT_ITEM_LOG, "", NULL));
else
dfm_put_record (trns->writer, " ", 1); /* XXX */