HOST command needs F_KEEP_FINAL_TOKEN.
[pspp-builds.git] / src / language / control / temporary.c
index 2424c2551de8e552025b9b132a05af227bc6daa5..e49fc1acdac49d0db228b75b36f977f660abf2ff 100644 (file)
@@ -24,7 +24,7 @@
 
 #include "control-stack.h"
 #include <data/dictionary.h>
-#include <procedure.h>
+#include <data/procedure.h>
 #include <data/transformations.h>
 #include <data/value-labels.h>
 #include <data/variable.h>
 
 /* Parses the TEMPORARY command. */
 int
-cmd_temporary (void)
+cmd_temporary (struct lexer *lexer, struct dataset *ds)
 {
-  if (!proc_in_temporary_transformations ())
-    proc_start_temporary_transformations ();
+  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."));
-  return lex_end_of_command ();
+  return lex_end_of_command (lexer);
 }