X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flanguage%2Fdictionary%2Fformats.c;h=4b5a2b208ace70f69c896ba4c4bd65941196fa5d;hb=d96eac87d7f348b87f9d517b0ab3bd0cbe613284;hp=2244ef7715018a5ff1ef9a55618f3cc4d42a1eab;hpb=fe8dc2171009e90d2335f159d05f7e6660e24780;p=pspp diff --git a/src/language/dictionary/formats.c b/src/language/dictionary/formats.c index 2244ef7715..4b5a2b208a 100644 --- a/src/language/dictionary/formats.c +++ b/src/language/dictionary/formats.c @@ -84,7 +84,7 @@ internal_cmd_formats (struct lexer *lexer, struct dataset *ds, int which) if (!lex_match (lexer, T_LPAREN)) { - msg (SE, _("`(' expected after variable list.")); + lex_error_expecting (lexer, "`('", NULL_SENTINEL); goto fail; } if (!parse_format_specifier (lexer, &f) @@ -94,7 +94,7 @@ internal_cmd_formats (struct lexer *lexer, struct dataset *ds, int which) if (!lex_match (lexer, T_RPAREN)) { - msg (SE, _("`)' expected after output format.")); + lex_error_expecting (lexer, "`)'", NULL_SENTINEL); goto fail; }