Added a --enable-debug option to configure and
[pspp-builds.git] / src / list.q
index 45046a026d21731a6dd70f4c8ef6d668d84e4f2c..174c7ead573ad9f30900bb4b9d4851b565ec8aea 100644 (file)
@@ -51,8 +51,6 @@ char *alloca ();
 #include "vfm.h"
 #include "format.h"
 
-#undef DEBUGGING
-/*#define DEBUGGING 1*/
 #include "debug-print.h"
 
 #if DEBUGGING
@@ -753,20 +751,20 @@ debug_print (void)
       fputs (cmd.v_variables[i]->name, stdout);
     }
 
-  printf ("\n  /CASES=FROM %ld TO %ld BY %ld\n", first, last, step);
+  printf ("\n  /CASES=FROM %ld TO %ld BY %ld\n", cmd.first, cmd.last, cmd.step);
 
   fputs ("  /FORMAT=", stdout);
-  if (numbering == NUMBERED)
+  if (cmd.numbering == LST_NUMBERED)
     fputs ("NUMBERED", stdout);
   else
     fputs ("UNNUMBERED", stdout);
   putc (' ', stdout);
-  if (wrap == WRAP)
+  if (cmd.wrap == LST_WRAP)
     fputs ("WRAP", stdout);
   else
     fputs ("SINGLE", stdout);
   putc (' ', stdout);
-  if (weight == WEIGHT)
+  if (cmd.weight == LST_WEIGHT)
     fputs ("WEIGHT", stdout);
   else
     fputs ("NOWEIGHT", stdout);