projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add mutual links to VARIABLE/DATAFILE ATTRIBUTE documentation
[pspp]
/
src
/
language
/
data-io
/
list.q
diff --git
a/src/language/data-io/list.q
b/src/language/data-io/list.q
index ca69ab25cdf0785851b34c5c8db4c1ca1c26eead..8e8bba9b69a281ae707cd021d2bd777e0176bf6f 100644
(file)
--- a/
src/language/data-io/list.q
+++ b/
src/language/data-io/list.q
@@
-16,11
+16,11
@@
#include <config.h>
#include <config.h>
+#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include "intprops.h"
#include <stdio.h>
#include <stdlib.h>
#include "intprops.h"
-#include "size_max.h"
#include "xmalloca.h"
#include <data/casegrouper.h>
#include "xmalloca.h"
#include <data/casegrouper.h>
@@
-29,6
+29,7
@@
#include <data/data-out.h>
#include <data/format.h>
#include <data/procedure.h>
#include <data/data-out.h>
#include <data/format.h>
#include <data/procedure.h>
+#include <data/short-names.h>
#include <data/variable.h>
#include <language/command.h>
#include <language/dictionary/split-file.h>
#include <data/variable.h>
#include <language/command.h>
#include <language/dictionary/split-file.h>
@@
-150,7
+151,7
@@
cmd_list (struct lexer *lexer, struct dataset *ds)
cmd.last = LONG_MAX;
if (!cmd.sbc_variables)
dict_get_vars (dict, &cmd.v_variables, &cmd.n_variables,
cmd.last = LONG_MAX;
if (!cmd.sbc_variables)
dict_get_vars (dict, &cmd.v_variables, &cmd.n_variables,
-
(1u << DC_SYSTEM) | (1u << DC_SCRATCH)
);
+
DC_SYSTEM | DC_SCRATCH
);
if (cmd.n_variables == 0)
{
msg (SE, _("No variables specified."));
if (cmd.n_variables == 0)
{
msg (SE, _("No variables specified."));
@@
-507,7
+508,7
@@
write_fallback_headers (struct outp_driver *d)
}
{
}
{
- char varname[
LONG
_NAME_LEN + 2];
+ char varname[
VAR
_NAME_LEN + 2];
snprintf (varname, sizeof varname,
" %s", var_get_name (cmd.v_variables[index]));
write_varname (d, varname, leader_width);
snprintf (varname, sizeof varname,
" %s", var_get_name (cmd.v_variables[index]));
write_varname (d, varname, leader_width);