X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fdictionary%2Fmodify-variables.c;h=b9a8a28eecc06cad545030837b75fa893f919e8b;hb=a2979bf95f3eb83e88a3bd723c09f22548775de5;hp=afb9089986b95b23babeb63e1e4947a1caed4205;hpb=81579d9e9f994fb2908f50af41c3eb033d216e58;p=pspp diff --git a/src/language/dictionary/modify-variables.c b/src/language/dictionary/modify-variables.c index afb9089986..b9a8a28eec 100644 --- a/src/language/dictionary/modify-variables.c +++ b/src/language/dictionary/modify-variables.c @@ -18,8 +18,8 @@ #include +#include "data/dataset.h" #include "data/dictionary.h" -#include "data/procedure.h" #include "data/variable.h" #include "language/command.h" #include "language/lexer/lexer.h" @@ -79,7 +79,7 @@ cmd_modify_vars (struct lexer *lexer, struct dataset *ds) this type. */ unsigned already_encountered = 0; - /* What we're gonna do to the active file. */ + /* What we are going to do to the active dataset. */ struct var_modification vm; /* Return code. */ @@ -200,8 +200,8 @@ cmd_modify_vars (struct lexer *lexer, struct dataset *ds) "names on RENAME subcommand.")); goto done; } - if (!parse_DATA_LIST_vars (lexer, &vm.new_names, - &prev_nv_1, PV_APPEND)) + if (!parse_DATA_LIST_vars (lexer, dataset_dict (ds), + &vm.new_names, &prev_nv_1, PV_APPEND)) goto done; if (prev_nv_1 != vm.rename_cnt) {