projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
parsing works, at least the basics
[pspp]
/
src
/
language
/
stats
/
ctables.c
diff --git
a/src/language/stats/ctables.c
b/src/language/stats/ctables.c
index 1d27331fcf7bcad335ed48468e84754936d5ac88..9dd1fd55a6b43346250bb43b8ed13f7ada6002dc 100644
(file)
--- a/
src/language/stats/ctables.c
+++ b/
src/language/stats/ctables.c
@@
-4061,6
+4061,7
@@
ctables_parse_pproperties (struct lexer *lexer, struct ctables *ct)
msg (SE, _("Unknown computed category &%s."), lex_tokcstr (lexer));
goto error;
}
msg (SE, _("Unknown computed category &%s."), lex_tokcstr (lexer));
goto error;
}
+ lex_get (lexer);
if (n_pcs >= allocated_pcs)
pcs = x2nrealloc (pcs, &allocated_pcs, sizeof *pcs);
if (n_pcs >= allocated_pcs)
pcs = x2nrealloc (pcs, &allocated_pcs, sizeof *pcs);
@@
-4139,6
+4140,7
@@
cmd_ctables (struct lexer *lexer, struct dataset *ds)
.look = pivot_table_look_unshare (pivot_table_look_ref (
pivot_table_look_get_default ())),
.vlabels = vlabels,
.look = pivot_table_look_unshare (pivot_table_look_ref (
pivot_table_look_get_default ())),
.vlabels = vlabels,
+ .postcomputes = HMAP_INITIALIZER (ct->postcomputes),
.hide_threshold = 5,
};
ct->look->omit_empty = false;
.hide_threshold = 5,
};
ct->look->omit_empty = false;