From: John Darrington Date: Mon, 28 Dec 2009 07:50:22 +0000 (+0100) Subject: Add optional / to AGGREGATE OUTPUT subcommand. X-Git-Tag: fc11-i386-build67^0 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11d6c28a48dee890839d70ea3692da58d9a5f6dc;p=pspp-builds.git Add optional / to AGGREGATE OUTPUT subcommand. SPSS expects a / to preceed the OUTPUT subcommand. So this change allows PSPP to have one too. Closes bug #277774 --- diff --git a/src/language/stats/aggregate.c b/src/language/stats/aggregate.c index 08d2f5e1..ac7a2080 100644 --- a/src/language/stats/aggregate.c +++ b/src/language/stats/aggregate.c @@ -196,6 +196,7 @@ cmd_aggregate (struct lexer *lexer, struct dataset *ds) dict_set_documents (agr.dict, dict_get_documents (dict)); /* OUTFILE subcommand must be first. */ + lex_match (lexer, '/'); if (!lex_force_match_id (lexer, "OUTFILE")) goto error; lex_match (lexer, '=');