X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fdictionary%2Fformats.c;h=b2cc3a5c394d7f009750474f017c114fdae79393;hb=f4e3578b2c8ce537de5516af55a62b84ebf2b744;hp=4b5a2b208ace70f69c896ba4c4bd65941196fa5d;hpb=da1bf03a84fa10f04e8c5438f22b523f0480dd7d;p=pspp diff --git a/src/language/dictionary/formats.c b/src/language/dictionary/formats.c index 4b5a2b208a..b2cc3a5c39 100644 --- a/src/language/dictionary/formats.c +++ b/src/language/dictionary/formats.c @@ -84,17 +84,17 @@ internal_cmd_formats (struct lexer *lexer, struct dataset *ds, int which) if (!lex_match (lexer, T_LPAREN)) { - lex_error_expecting (lexer, "`('", NULL_SENTINEL); + lex_error_expecting (lexer, "`('"); goto fail; } if (!parse_format_specifier (lexer, &f) || !fmt_check_output (&f) - || !fmt_check_width_compat (&f, width)) + || !fmt_check_width_compat (&f, var_get_name (v[0]), width)) goto fail; if (!lex_match (lexer, T_RPAREN)) { - lex_error_expecting (lexer, "`)'", NULL_SENTINEL); + lex_error_expecting (lexer, "`)'"); goto fail; }