X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fstats%2Fcorrelations.c;h=e397dae53b2ff482bb0ea9b31cc4b2685ddd14dd;hb=c05b6ca3fbafc33d542beb0d3acf2114a809fdfe;hp=69d91d03c2b56bb9bc71f8c5e1294db4587416fa;hpb=58e00a3068cffe79b28c195b58841edb617d995e;p=pspp-builds.git diff --git a/src/language/stats/correlations.c b/src/language/stats/correlations.c index 69d91d03..e397dae5 100644 --- a/src/language/stats/correlations.c +++ b/src/language/stats/correlations.c @@ -432,8 +432,11 @@ cmd_correlation (struct lexer *lexer, struct dataset *ds) opts.statistics = STATS_DESCRIPTIVES; else if (lex_match_id (lexer, "XPROD")) opts.statistics = STATS_XPROD; - else if (lex_match_id (lexer, "ALL")) - opts.statistics = STATS_ALL; + else if (lex_token (lexer) == T_ALL) + { + opts.statistics = STATS_ALL; + lex_get (lexer); + } else { lex_error (lexer, NULL);