projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
*** empty log message ***
[pspp]
/
src
/
temporary.c
diff --git
a/src/temporary.c
b/src/temporary.c
index f277152e8f00beb6159a8d8605eecf7dbcc6848b..840e5d2b4e73941b95242b5b1b65c7087dea974a 100644
(file)
--- a/
src/temporary.c
+++ b/
src/temporary.c
@@
-24,7
+24,7
@@
#include "alloc.h"
#include "command.h"
#include "dictionary.h"
#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"
#include "error.h"
#include "hash.h"
#include "lexer.h"
@@
-37,14
+37,14
@@
int temporary;
struct dictionary *temp_dict;
int temporary;
struct dictionary *temp_dict;
-
in
t temp_trns;
+
size_
t temp_trns;
/* Parses the TEMPORARY command. */
int
cmd_temporary (void)
{
/* TEMPORARY is not allowed inside DO IF or LOOP. */
/* 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;
{
msg (SE, _("This command is not valid inside DO IF or LOOP."));
return CMD_FAILURE;