diff options
author | Tom de Vries <tdevries@suse.de> | 2022-06-07 11:22:56 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2022-06-07 11:22:56 +0200 |
commit | b11f3dbb884dfacd1d581dbccc017fa1da155ead (patch) | |
tree | ce99736541b160cbf53b4b58b50844689e99e744 | |
parent | e97198fdcdb7c86c70b85a0746d7a7ab5c87bbdf (diff) | |
download | gdb-b11f3dbb884dfacd1d581dbccc017fa1da155ead.zip gdb-b11f3dbb884dfacd1d581dbccc017fa1da155ead.tar.gz gdb-b11f3dbb884dfacd1d581dbccc017fa1da155ead.tar.bz2 |
[gdb/rust] Add missing _() for error call
In commit 1390b65a1b9 ("[gdb/rust] Fix literal truncation") I forgot to add
_() around a string using in an error call.
Fix this by adding the missing _().
Tested on x86_64-linux.
-rw-r--r-- | gdb/rust-parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/rust-parse.c b/gdb/rust-parse.c index 836f491..f5eb63e 100644 --- a/gdb/rust-parse.c +++ b/gdb/rust-parse.c @@ -1027,7 +1027,7 @@ rust_parser::lex_number () const char *trailer; value = strtoulst (number.c_str () + offset, &trailer, radix); if (*trailer != '\0') - error ("Integer literal is too large"); + error (_("Integer literal is too large")); if (implicit_i32 && value >= ((uint64_t) 1) << 31) type = get_type ("i64"); |