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
/
utilities
/
include.c
diff --git
a/src/language/utilities/include.c
b/src/language/utilities/include.c
index e802abecc49ed4b3129c38ede93024eaaa76430c..bcee162c6a04f56e44a01164d0c7af87662cba62 100644
(file)
--- a/
src/language/utilities/include.c
+++ b/
src/language/utilities/include.c
@@
-22,8
+22,9
@@
#include <string.h>
#include <unistd.h>
#include <string.h>
#include <unistd.h>
+#include "data/dataset.h"
#include "data/file-name.h"
#include "data/file-name.h"
-#include "data/
procedure
.h"
+#include "data/
session
.h"
#include "language/command.h"
#include "language/lexer/include-path.h"
#include "language/lexer/lexer.h"
#include "language/command.h"
#include "language/lexer/include-path.h"
#include "language/lexer/lexer.h"
@@
-81,7
+82,8
@@
do_insert (struct lexer *lexer, struct dataset *ds, enum variant variant)
error_mode = LEX_ERROR_CONTINUE;
cd = false;
status = CMD_FAILURE;
error_mode = LEX_ERROR_CONTINUE;
cd = false;
status = CMD_FAILURE;
- encoding = xstrdup (dataset_get_default_syntax_encoding (ds));
+ encoding = xstrdup (session_get_default_syntax_encoding (
+ dataset_session (ds)));
while ( T_ENDCMD != lex_token (lexer))
{
if (lex_match_id (lexer, "ENCODING"))
while ( T_ENDCMD != lex_token (lexer))
{
if (lex_match_id (lexer, "ENCODING"))