From f5711a3a6d3f28e53513269e774bfa1e8274c1c5 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Sat, 12 Feb 2022 10:45:55 -0800 Subject: [PATCH] parsing works, at least the basics --- src/language/stats/ctables.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/language/stats/ctables.c b/src/language/stats/ctables.c index 1d27331fcf..9dd1fd55a6 100644 --- 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; -- 2.30.2