projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Renamed time-series directory ts
[pspp-builds.git]
/
src
/
language
/
dictionary
/
variable-label.c
diff --git
a/src/language/dictionary/variable-label.c
b/src/language/dictionary/variable-label.c
index acf5f054e52359f16ca4a10d67f6348867659461..7380d3d6f5a7a4e01770f13d7e22fd3802b40bee 100644
(file)
--- a/
src/language/dictionary/variable-label.c
+++ b/
src/language/dictionary/variable-label.c
@@
-18,14
+18,17
@@
02110-1301, USA. */
#include <config.h>
02110-1301, USA. */
#include <config.h>
+
#include <stdio.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdlib.h>
-#include <libpspp/alloc.h>
+
+#include <data/procedure.h>
+#include <data/variable.h>
#include <language/command.h>
#include <language/command.h>
-#include <libpspp/message.h>
#include <language/lexer/lexer.h>
#include <language/lexer/lexer.h>
+#include <libpspp/alloc.h>
+#include <libpspp/message.h>
#include <libpspp/str.h>
#include <libpspp/str.h>
-#include <data/variable.h>
#include "gettext.h"
#define _(msgid) gettext (msgid)
#include "gettext.h"
#define _(msgid) gettext (msgid)
@@
-41,13
+44,13
@@
cmd_variable_labels (void)
size_t i;
if (!parse_variables (default_dict, &v, &nv, PV_NONE))
size_t i;
if (!parse_variables (default_dict, &v, &nv, PV_NONE))
- return CMD_
PART_SUCCESS_MAYB
E;
+ return CMD_
FAILUR
E;
if (token != T_STRING)
{
msg (SE, _("String expected for variable label."));
free (v);
if (token != T_STRING)
{
msg (SE, _("String expected for variable label."));
free (v);
- return CMD_
PART_SUCCESS_MAYB
E;
+ return CMD_
FAILUR
E;
}
if (ds_length (&tokstr) > 255)
{
}
if (ds_length (&tokstr) > 255)
{