[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pspp-cvs] Changes to pspp/src/temporary.c
From: |
Ben Pfaff |
Subject: |
[Pspp-cvs] Changes to pspp/src/temporary.c |
Date: |
Thu, 03 Nov 2005 01:22:06 -0500 |
Index: pspp/src/temporary.c
diff -u pspp/src/temporary.c:1.12 pspp/src/temporary.c:1.13
--- pspp/src/temporary.c:1.12 Sun Jul 31 21:42:46 2005
+++ pspp/src/temporary.c Thu Nov 3 06:21:46 2005
@@ -24,7 +24,7 @@
#include "alloc.h"
#include "command.h"
#include "dictionary.h"
-#include "do-ifP.h"
+#include "ctl-stack.h"
#include "error.h"
#include "hash.h"
#include "lexer.h"
@@ -37,14 +37,14 @@
int temporary;
struct dictionary *temp_dict;
-int temp_trns;
+size_t temp_trns;
/* Parses the TEMPORARY command. */
int
cmd_temporary (void)
{
/* TEMPORARY is not allowed inside DO IF or LOOP. */
- if (ctl_stack)
+ if (!ctl_stack_is_empty ())
{
msg (SE, _("This command is not valid inside DO IF or LOOP."));
return CMD_FAILURE;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pspp-cvs] Changes to pspp/src/temporary.c,
Ben Pfaff <=