projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Apply patches #5828, #5837, #5841, #5843.
[pspp-builds.git]
/
src
/
language
/
control
/
temporary.c
diff --git
a/src/language/control/temporary.c
b/src/language/control/temporary.c
index 2424c2551de8e552025b9b132a05af227bc6daa5..2e6f273f5628cbbdd5a8617744fed41f7c44b815 100644
(file)
--- a/
src/language/control/temporary.c
+++ b/
src/language/control/temporary.c
@@
-1,6
+1,5
@@
/* PSPP - computes sample statistics.
Copyright (C) 1997-9, 2000 Free Software Foundation, Inc.
/* PSPP - computes sample statistics.
Copyright (C) 1997-9, 2000 Free Software Foundation, Inc.
- Written by Ben Pfaff <blp@gnu.org>.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
@@
-24,7
+23,7
@@
#include "control-stack.h"
#include <data/dictionary.h>
#include "control-stack.h"
#include <data/dictionary.h>
-#include <procedure.h>
+#include <
data/
procedure.h>
#include <data/transformations.h>
#include <data/value-labels.h>
#include <data/variable.h>
#include <data/transformations.h>
#include <data/value-labels.h>
#include <data/variable.h>
@@
-41,12
+40,12
@@
/* Parses the TEMPORARY command. */
int
/* Parses the TEMPORARY command. */
int
-cmd_temporary (
void
)
+cmd_temporary (
struct lexer *lexer, struct dataset *ds
)
{
{
- if (!proc_in_temporary_transformations ())
- proc_start_temporary_transformations ();
+ if (!proc_in_temporary_transformations (
ds
))
+ proc_start_temporary_transformations (
ds
);
else
msg (SE, _("This command may only appear once between "
"procedures and procedure-like commands."));
else
msg (SE, _("This command may only appear once between "
"procedures and procedure-like commands."));
- return lex_end_of_command ();
+ return lex_end_of_command (
lexer
);
}
}