Fix EXPORT problem with string variables. From Andreas Streichardt
[pspp-builds.git] / src / formats.c
index 8d2918a769a2528da8d0673f4619ba09e274d256..9198b0ad35ce7dbdb0843d364361098cae921f64 100644 (file)
@@ -28,8 +28,6 @@
 #include "str.h"
 #include "var.h"
 
-#undef DEBUGGING
-/*#define DEBUGGING 1*/
 #include "debug-print.h"
 
 #if DEBUGGING
@@ -86,7 +84,7 @@ internal_cmd_formats (int which)
       if (token == '.')
        break;
 
-      if (!parse_variables (NULL, &v, &cv, PV_SAME_TYPE))
+      if (!parse_variables (default_dict, &v, &cv, PV_SAME_TYPE))
        return CMD_PART_SUCCESS_MAYBE;
       type = v[0]->type;