projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
now builds frequency tables
[pspp]
/
src
/
language
/
dictionary
/
split-file.c
diff --git
a/src/language/dictionary/split-file.c
b/src/language/dictionary/split-file.c
index 73cc20a0570ddb9d8ed4e4c324356a578aa2ffdf..1ebd7ae9ca6fa415cd2b13a737ea255827562244 100644
(file)
--- a/
src/language/dictionary/split-file.c
+++ b/
src/language/dictionary/split-file.c
@@
-50,7
+50,7
@@
cmd_split_file (struct lexer *lexer, struct dataset *ds)
size_t n;
/* For now, ignore SEPARATE and LAYERED. */
size_t n;
/* For now, ignore SEPARATE and LAYERED. */
- (void) (
lex_match_id (lexer, "SEPARATE") || lex_match_id (lexer, "LAYERED")
);
+ (void) (
lex_match_id (lexer, "SEPARATE") || lex_match_id (lexer, "LAYERED")
);
lex_match (lexer, T_BY);
if (!parse_variables (lexer, dataset_dict (ds), &v, &n, PV_NO_DUPLICATE))
lex_match (lexer, T_BY);
if (!parse_variables (lexer, dataset_dict (ds), &v, &n, PV_NO_DUPLICATE))
@@
-68,7
+68,7
@@
void
output_split_file_values (const struct dataset *ds, const struct ccase *c)
{
const struct dictionary *dict = dataset_dict (ds);
output_split_file_values (const struct dataset *ds, const struct ccase *c)
{
const struct dictionary *dict = dataset_dict (ds);
- size_t n_vars = dict_get_
split_cnt
(dict);
+ size_t n_vars = dict_get_
n_splits
(dict);
if (n_vars == 0)
return;
if (n_vars == 0)
return;