#include <stdlib.h>
#include <data/dictionary.h>
-#include <procedure.h>
+#include <data/procedure.h>
#include <data/variable.h>
#include <language/command.h>
#include <language/lexer/lexer.h>
+#include <language/lexer/variable-parser.h>
#include <libpspp/alloc.h>
#include <libpspp/hash.h>
#include <libpspp/message.h>
int status = CMD_CASCADING_FAILURE;
- if (proc_make_temporary_transformations_permanent ())
+ if (proc_make_temporary_transformations_permanent (current_dataset))
msg (SE, _("RENAME VARS may not be used after TEMPORARY. "
"Temporary transformations will be made permanent."));
msg (SE, _("`(' expected."));
goto lossage;
}
- if (!parse_variables (default_dict, &rename_vars, &rename_cnt,
+ if (!parse_variables (dataset_dict (current_dataset), &rename_vars, &rename_cnt,
PV_APPEND | PV_NO_DUPLICATE))
goto lossage;
if (!lex_match ('='))
}
while (token != '.');
- if (!dict_rename_vars (default_dict,
+ if (!dict_rename_vars (dataset_dict (current_dataset),
rename_vars, rename_new_names, rename_cnt,
&err_name))
{