Encapsulated lexer and updated calling functions accordingly.
[pspp-builds.git] / src / language / control / temporary.c
index 45d7342b60a10b299f40ed706213f806de3ab43e..e49fc1acdac49d0db228b75b36f977f660abf2ff 100644 (file)
 
 /* Parses the TEMPORARY command. */
 int
-cmd_temporary (struct dataset *ds)
+cmd_temporary (struct lexer *lexer, struct dataset *ds)
 {
   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);
 }