projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
magic-elimination.patch from patch #6230.
[pspp-builds.git]
/
src
/
language
/
data-io
/
list.q
diff --git
a/src/language/data-io/list.q
b/src/language/data-io/list.q
index 1df9411163a5d81b82dc0da670aa702601ac4fa4..135dcc4c954ceec0a762f8c5b0e995d0916744b8 100644
(file)
--- a/
src/language/data-io/list.q
+++ b/
src/language/data-io/list.q
@@
-33,7
+33,6
@@
#include <language/lexer/lexer.h>
#include <libpspp/alloc.h>
#include <libpspp/compiler.h>
#include <language/lexer/lexer.h>
#include <libpspp/alloc.h>
#include <libpspp/compiler.h>
-#include <libpspp/magic.h>
#include <libpspp/message.h>
#include <libpspp/message.h>
#include <libpspp/misc.h>
#include <libpspp/message.h>
#include <libpspp/message.h>
#include <libpspp/misc.h>
@@
-141,11
+140,11
@@
cmd_list (struct lexer *lexer, struct dataset *ds)
return CMD_FAILURE;
/* Fill in defaults. */
return CMD_FAILURE;
/* Fill in defaults. */
- if (cmd.step ==
NOT_LONG
)
+ if (cmd.step ==
LONG_MIN
)
cmd.step = 1;
cmd.step = 1;
- if (cmd.first ==
NOT_LONG
)
+ if (cmd.first ==
LONG_MIN
)
cmd.first = 1;
cmd.first = 1;
- if (cmd.last ==
NOT_LONG
)
+ if (cmd.last ==
LONG_MIN
)
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,