projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changed the definition of factors to be self referential.
[pspp-builds.git]
/
src
/
temporary.c
diff --git
a/src/temporary.c
b/src/temporary.c
index f569028a081b389b632f42babebbcf0c9596d3aa..c04ce764d99b18a99274fe2adfa9503f9f5854b7 100644
(file)
--- a/
src/temporary.c
+++ b/
src/temporary.c
@@
-18,7
+18,7
@@
02111-1307, USA. */
#include <config.h>
02111-1307, USA. */
#include <config.h>
-#include
<assert.h>
+#include
"error.h"
#include <stddef.h>
#include <stdlib.h>
#include "alloc.h"
#include <stddef.h>
#include <stdlib.h>
#include "alloc.h"
@@
-31,8
+31,6
@@
#include "value-labels.h"
#include "var.h"
#include "value-labels.h"
#include "var.h"
-#include "debug-print.h"
-
int temporary;
struct dictionary *temp_dict;
int temp_trns;
int temporary;
struct dictionary *temp_dict;
int temp_trns;
@@
-41,8
+39,6
@@
int temp_trns;
int
cmd_temporary (void)
{
int
cmd_temporary (void)
{
- lex_match_id ("TEMPORARY");
-
/* TEMPORARY is not allowed inside DO IF or LOOP. */
if (ctl_stack)
{
/* TEMPORARY is not allowed inside DO IF or LOOP. */
if (ctl_stack)
{
@@
-61,11
+57,7
@@
cmd_temporary (void)
/* Make a copy of the current dictionary. */
temporary = 1;
temp_dict = dict_clone (default_dict);
/* Make a copy of the current dictionary. */
temporary = 1;
temp_dict = dict_clone (default_dict);
- if (f_trns == n_trns)
- temp_trns = -1;
- else
- temp_trns = n_trns;
- debug_printf (("TEMPORARY: temp_trns=%d\n", temp_trns));
+ temp_trns = n_trns;
return lex_end_of_command ();
}
return lex_end_of_command ();
}