#include "libpspp/i18n.h"
#include "libpspp/message.h"
#include "libpspp/str.h"
-#include "output/group-item.h"
+#include "output/output-item.h"
-#include "xalloc.h"
#include "xmalloca.h"
#include "gettext.h"
result = CMD_FAILURE;
goto finish;
}
- group_open_item_submit (group_open_item_create_nocopy (
- utf8_to_title (command->name)));
+ output_item_submit (group_open_item_create_nocopy (
+ utf8_to_title (command->name),
+ utf8_to_title (command->name)));
opened = true;
if (command->function == NULL)
lex_get (lexer);
if (opened)
- group_close_item_submit (group_close_item_create ());
+ output_item_submit (group_close_item_create ());
return result;
}
}
else if (state == CMD_STATE_INPUT_PROGRAM)
msg (SE, _("%s is not allowed inside %s."),
- command->name, "INPUT PROGRAM" );
+ command->name, "INPUT PROGRAM");
else if (state == CMD_STATE_FILE_TYPE)
msg (SE, _("%s is not allowed inside %s."), command->name, "FILE TYPE");