projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06b59da
)
parsing works, at least the basics
author
Ben Pfaff
<blp@cs.stanford.edu>
Sat, 12 Feb 2022 18:45:55 +0000
(10:45 -0800)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Sat, 12 Feb 2022 18:45:55 +0000
(10:45 -0800)
src/language/stats/ctables.c
patch
|
blob
|
history
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;
}
+ lex_get (lexer);
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,
+ .postcomputes = HMAP_INITIALIZER (ct->postcomputes),
.hide_threshold = 5,
};
ct->look->omit_empty = false;