/[pspp]/pspp/src/temporary.c
ViewVC logotype

Diff of /pspp/src/temporary.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.12 by blp, Sun Jul 31 21:42:46 2005 UTC revision 1.13 by blp, Thu Nov 3 06:21:46 2005 UTC
# Line 24  Line 24 
24  #include "alloc.h"  #include "alloc.h"
25  #include "command.h"  #include "command.h"
26  #include "dictionary.h"  #include "dictionary.h"
27  #include "do-ifP.h"  #include "ctl-stack.h"
28  #include "error.h"  #include "error.h"
29  #include "hash.h"  #include "hash.h"
30  #include "lexer.h"  #include "lexer.h"
# Line 37  Line 37 
37    
38  int temporary;  int temporary;
39  struct dictionary *temp_dict;  struct dictionary *temp_dict;
40  int temp_trns;  size_t temp_trns;
41    
42  /* Parses the TEMPORARY command. */  /* Parses the TEMPORARY command. */
43  int  int
44  cmd_temporary (void)  cmd_temporary (void)
45  {  {
46    /* TEMPORARY is not allowed inside DO IF or LOOP. */    /* TEMPORARY is not allowed inside DO IF or LOOP. */
47    if (ctl_stack)    if (!ctl_stack_is_empty ())
48      {      {
49        msg (SE, _("This command is not valid inside DO IF or LOOP."));        msg (SE, _("This command is not valid inside DO IF or LOOP."));
50        return CMD_FAILURE;        return CMD_FAILURE;

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26