X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Flanguage%2Fdictionary%2Fformats.c;h=4b5a2b208ace70f69c896ba4c4bd65941196fa5d;hb=2beb35516f8749170f786022441a676347f1074d;hp=2244ef7715018a5ff1ef9a55618f3cc4d42a1eab;hpb=9df2afdd4fb29138d9a1885cd892ea16528a71f3;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; }