Eliminated global variable current_dataset.
[pspp-builds.git] / src / language / control / temporary.c
index 810ed519a0076322aa3ceb28fb7f2ec85db2eb4a..45d7342b60a10b299f40ed706213f806de3ab43e 100644 (file)
 
 /* Parses the TEMPORARY command. */
 int
-cmd_temporary (void)
+cmd_temporary (struct dataset *ds)
 {
-  if (!proc_in_temporary_transformations (current_dataset))
-    proc_start_temporary_transformations (current_dataset);
+  if (!proc_in_temporary_transformations (ds))
+    proc_start_temporary_transformations (ds);
   else
     msg (SE, _("This command may only appear once between "
                "procedures and procedure-like commands."));