Add optional / to AGGREGATE OUTPUT subcommand. fc11-i386-build67 fc11-x64-build64 lenny-x64-build88 sid-i386-build134
authorJohn Darrington <john@darrington.wattle.id.au>
Mon, 28 Dec 2009 07:50:22 +0000 (08:50 +0100)
committerJohn Darrington <john@darrington.wattle.id.au>
Mon, 28 Dec 2009 07:50:22 +0000 (08:50 +0100)
SPSS expects a / to preceed the OUTPUT subcommand. So this
change allows PSPP to have one too.  Closes
bug #277774

src/language/stats/aggregate.c

index 08d2f5e15c7d06176f1787b5e81017c7da54ad83..ac7a2080bf02cc373e2f3ba53a0c9b444f2d9ffa 100644 (file)
@@ -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, '=');