lexer: Make lex_error_expecting() easier to use.
[pspp] / src / language / data-io / get.c
index 6e99187ba11c5a311d137b2f6be1dbc0990ae3ed..0f66f64f98ba38ee830654863e8b190ab6541fee 100644 (file)
@@ -109,7 +109,7 @@ parse_read_command (struct lexer *lexer, struct dataset *ds,
          if (!lex_match_id (lexer, "COMM")
               && !lex_match_id (lexer, "TAPE"))
            {
-             lex_error_expecting (lexer, "COMM", "TAPE", NULL_SENTINEL);
+             lex_error_expecting (lexer, "COMM", "TAPE");
               goto error;
            }
        }