FACTOR: Allow an option '=' after MATRIX
authorJohn Darrington <john@darrington.wattle.id.au>
Tue, 9 May 2017 13:13:32 +0000 (15:13 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Tue, 9 May 2017 13:14:26 +0000 (15:14 +0200)
src/language/stats/factor.c

index 6db35f34e36681944e7a583d837ee98a826d414f..8a38082bfa101371385d6fc6e78b25b81a340c2f 100644 (file)
@@ -1057,6 +1057,7 @@ cmd_factor (struct lexer *lexer, struct dataset *ds)
     }
   else if (lex_match_id (lexer, "MATRIX"))
     {
+      lex_match (lexer, T_EQUALS);
       if (! lex_force_match_id (lexer, "IN"))
        goto error;
       if (!lex_force_match (lexer, T_LPAREN))