pspp-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pspp-cvs] Changes to pspp/src/command.c


From: Ben Pfaff
Subject: [Pspp-cvs] Changes to pspp/src/command.c
Date: Sat, 10 Dec 2005 21:48:47 -0500

Index: pspp/src/command.c
diff -u pspp/src/command.c:1.27 pspp/src/command.c:1.28
--- pspp/src/command.c:1.27     Sun Jul 31 21:42:46 2005
+++ pspp/src/command.c  Sun Dec 11 02:48:45 2005
@@ -108,7 +108,7 @@
 
       cmd = &commands[state + skip];
   
-      if ( cmd->transition[pgm_state] == STATE_ERROR || ( cmd->debug  &&  ! 
test_mode ) ) 
+      if ( cmd->transition[pgm_state] == STATE_ERROR || ( cmd->debug  &&  ! 
get_testing_mode () ) ) 
        {
          skip++; 
          continue;
@@ -554,7 +554,7 @@
             {
               if (command->skip_entire_name)
                 lex_get ();
-             if ( command->debug & !test_mode ) 
+             if ( command->debug & !get_testing_mode () ) 
                goto error;
               free_words (words, word_cnt);
               return command;
@@ -599,7 +599,7 @@
           free (words[word_cnt]);
         }
 
-      if ( command->debug && !test_mode ) 
+      if ( command->debug && !get_testing_mode () ) 
        goto error;
 
       free_words (words, word_cnt);
@@ -679,7 +679,7 @@
 int
 cmd_erase (void)
 {
-  if ( safer_mode() ) 
+  if (get_safer_mode ()) 
     { 
       msg (SE, _("This command not allowed when the SAFER option is set.")); 
       return CMD_FAILURE; 
@@ -810,7 +810,7 @@
 {
   int code;
 
-  if ( safer_mode() ) 
+  if (get_safer_mode ()) 
     { 
       msg (SE, _("This command not allowed when the SAFER option is set.")); 
       return CMD_FAILURE; 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]