projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
po: Update Dutch translation from translation-project.org.
[pspp-builds.git]
/
src
/
language
/
data-io
/
get.c
diff --git
a/src/language/data-io/get.c
b/src/language/data-io/get.c
index aa2b91fe6a92d3a8259c6475c597869c007ca12b..0e542ef0d28dc50b08ea97bd780424da5aede1d1 100644
(file)
--- a/
src/language/data-io/get.c
+++ b/
src/language/data-io/get.c
@@
-22,9
+22,9
@@
#include "data/case-map.h"
#include "data/case.h"
#include "data/casereader.h"
#include "data/case-map.h"
#include "data/case.h"
#include "data/casereader.h"
+#include "data/dataset.h"
#include "data/dictionary.h"
#include "data/por-file-writer.h"
#include "data/dictionary.h"
#include "data/por-file-writer.h"
-#include "data/procedure.h"
#include "language/command.h"
#include "language/data-io/file-handle.h"
#include "language/data-io/trim.h"
#include "language/command.h"
#include "language/data-io/file-handle.h"
#include "language/data-io/trim.h"
@@
-82,7
+82,7
@@
parse_read_command (struct lexer *lexer, struct dataset *ds, enum reader_command
lex_match (lexer, T_EQUALS);
fh_unref (fh);
lex_match (lexer, T_EQUALS);
fh_unref (fh);
- fh = fh_parse (lexer, FH_REF_FILE
| FH_REF_SCRATCH
);
+ fh = fh_parse (lexer, FH_REF_FILE
, NULL
);
if (fh == NULL)
goto error;
}
if (fh == NULL)
goto error;
}
@@
-128,7
+128,8
@@
parse_read_command (struct lexer *lexer, struct dataset *ds, enum reader_command
if (map != NULL)
reader = case_map_create_input_translator (map, reader);
if (map != NULL)
reader = case_map_create_input_translator (map, reader);
- proc_set_active_file (ds, reader, dict);
+ dataset_set_dict (ds, dict);
+ dataset_set_source (ds, reader);
fh_unref (fh);
return CMD_SUCCESS;
fh_unref (fh);
return CMD_SUCCESS;