projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
render: Add comment.
[pspp]
/
src
/
language
/
data-io
/
get.c
diff --git
a/src/language/data-io/get.c
b/src/language/data-io/get.c
index 2440bd900b9d2ee01fcfac78342f70f88004c36b..00e78c8f00c1a39922ae3179200b6f8fb8591a9c 100644
(file)
--- a/
src/language/data-io/get.c
+++ b/
src/language/data-io/get.c
@@
-109,7
+109,7
@@
parse_read_command (struct lexer *lexer, struct dataset *ds,
if (!lex_match_id (lexer, "COMM")
&& !lex_match_id (lexer, "TAPE"))
{
if (!lex_match_id (lexer, "COMM")
&& !lex_match_id (lexer, "TAPE"))
{
- lex_error_expecting (lexer, "COMM", "TAPE"
, NULL_SENTINEL
);
+ lex_error_expecting (lexer, "COMM", "TAPE");
goto error;
}
}
goto error;
}
}
@@
-139,7
+139,7
@@
parse_read_command (struct lexer *lexer, struct dataset *ds,
while (lex_token (lexer) != T_ENDCMD)
{
lex_match (lexer, T_SLASH);
while (lex_token (lexer) != T_ENDCMD)
{
lex_match (lexer, T_SLASH);
- if (!parse_dict_trim (lexer, dict))
+ if (!parse_dict_trim (lexer, dict
, false
))
goto error;
}
dict_compact_values (dict);
goto error;
}
dict_compact_values (dict);
@@
-161,7
+161,7
@@
parse_read_command (struct lexer *lexer, struct dataset *ds,
fh_unref (fh);
casereader_destroy (reader);
if (dict != NULL)
fh_unref (fh);
casereader_destroy (reader);
if (dict != NULL)
- dict_
destroy
(dict);
+ dict_
unref
(dict);
free (encoding);
return CMD_CASCADING_FAILURE;
}
free (encoding);
return CMD_CASCADING_FAILURE;
}