X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Flanguage%2Fdata-io%2Fget.c;h=00e78c8f00c1a39922ae3179200b6f8fb8591a9c;hb=53d339111a9f51561cfccc65764874cdf54e501a;hp=6e99187ba11c5a311d137b2f6be1dbc0990ae3ed;hpb=8d6bfdd2a100bf8166b3b0b3f006d46f3e7a59e9;p=pspp diff --git a/src/language/data-io/get.c b/src/language/data-io/get.c index 6e99187ba1..00e78c8f00 100644 --- a/src/language/data-io/get.c +++ b/src/language/data-io/get.c @@ -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; } } @@ -139,7 +139,7 @@ parse_read_command (struct lexer *lexer, struct dataset *ds, while (lex_token (lexer) != T_ENDCMD) { lex_match (lexer, T_SLASH); - if (!parse_dict_trim (lexer, dict)) + if (!parse_dict_trim (lexer, dict, false)) goto error; } dict_compact_values (dict);