From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2205) id 727EA382CB86; Tue, 7 Jun 2022 09:23:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 727EA382CB86 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Tom de Vries To: gdb-cvs@sourceware.org Subject: [binutils-gdb] [gdb/rust] Add missing _() for error call X-Act-Checkin: binutils-gdb X-Git-Author: Tom de Vries X-Git-Refname: refs/heads/master X-Git-Oldrev: e97198fdcdb7c86c70b85a0746d7a7ab5c87bbdf X-Git-Newrev: b11f3dbb884dfacd1d581dbccc017fa1da155ead Message-Id: <20220607092302.727EA382CB86@sourceware.org> Date: Tue, 7 Jun 2022 09:23:02 +0000 (GMT) X-BeenThere: gdb-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Jun 2022 09:23:02 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3Db11f3dbb884d= facd1d581dbccc017fa1da155ead commit b11f3dbb884dfacd1d581dbccc017fa1da155ead Author: Tom de Vries Date: Tue Jun 7 11:22:56 2022 +0200 [gdb/rust] Add missing _() for error call =20 In commit 1390b65a1b9 ("[gdb/rust] Fix literal truncation") I forgot to= add _() around a string using in an error call. =20 Fix this by adding the missing _(). =20 Tested on x86_64-linux. Diff: --- gdb/rust-parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/rust-parse.c b/gdb/rust-parse.c index 836f49108f8..f5eb63ec1e3 100644 --- a/gdb/rust-parse.c +++ b/gdb/rust-parse.c @@ -1027,7 +1027,7 @@ rust_parser::lex_number () const char *trailer; value =3D strtoulst (number.c_str () + offset, &trailer, radix); if (*trailer !=3D '\0') - error ("Integer literal is too large"); + error (_("Integer literal is too large")); if (implicit_i32 && value >=3D ((uint64_t) 1) << 31) type =3D get_type ("i64");