From: Ben Pfaff Date: Sat, 12 Feb 2022 18:45:55 +0000 (-0800) Subject: parsing works, at least the basics X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pspp;a=commitdiff_plain;h=ea8b4a5f2f7d02b84fa808ae8a8f4cf7953fa237 parsing works, at least the basics --- 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;