From: Ben Pfaff Date: Fri, 31 Jul 2015 15:35:04 +0000 (-0700) Subject: T-TEST: Allow both CIN and CI on CRITERIA. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9cb6dec84b34ad0b8d424e2e023b66ab2d84e5c1;p=pspp T-TEST: Allow both CIN and CI on CRITERIA. Upon reading the bug report further, I see that it says that SPSS also allows both forms. Bug #45664. --- diff --git a/src/language/stats/t-test-parser.c b/src/language/stats/t-test-parser.c index 6b14adbdb3..138969f8bf 100644 --- a/src/language/stats/t-test-parser.c +++ b/src/language/stats/t-test-parser.c @@ -272,7 +272,7 @@ cmd_t_test (struct lexer *lexer, struct dataset *ds) else if (lex_match_id (lexer, "CRITERIA")) { lex_match (lexer, T_EQUALS); - if ( lex_force_match_id (lexer, "CI")) + if ( lex_match_id (lexer, "CIN") || lex_force_match_id (lexer, "CI")) if ( lex_force_match (lexer, T_LPAREN)) { lex_force_num (lexer);