diff options
author | David Edelsohn <dje.gcc@gmail.com> | 2020-07-02 16:03:03 -0400 |
---|---|---|
committer | David Edelsohn <dje.gcc@gmail.com> | 2020-07-18 12:06:52 -0400 |
commit | a36b14a333c9c6571e16a87fa54956d991dce387 (patch) | |
tree | 4a41bed92f81d88e4229b99d64e6bf71a447cc04 /gcc/fortran/check.c | |
parent | 60c1baebbaa62eb588ec4ab263de3b88283fdbee (diff) | |
download | gcc-a36b14a333c9c6571e16a87fa54956d991dce387.zip gcc-a36b14a333c9c6571e16a87fa54956d991dce387.tar.gz gcc-a36b14a333c9c6571e16a87fa54956d991dce387.tar.bz2 |
fortran: Restore translation to hint.
This patch restore translation for the variable hint. The translation
tag conflicted with the previous declaration of hint as char[] and
broke bootstrap, so the translation tags were removed. The
declaration was changed to char *. This patch restores the translation
tags to the string.
gcc/fortran/ChangeLog
2020-07-18 David Edelsohn <dje.gcc@gmail.com>
* check.c (gfc_invalid_boz): Mark hint for translation using _().
Diffstat (limited to 'gcc/fortran/check.c')
-rw-r--r-- | gcc/fortran/check.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fortran/check.c b/gcc/fortran/check.c index 89cc158..74e5e44 100644 --- a/gcc/fortran/check.c +++ b/gcc/fortran/check.c @@ -67,7 +67,7 @@ gfc_invalid_boz (const char *msg, locus *loc) return false; } - const char *hint = " [see %<-fno-allow-invalid-boz%>]"; + const char *hint = _(" [see %<-fno-allow-invalid-boz%>]"); size_t len = strlen (msg) + strlen (hint) + 1; char *msg2 = (char *) alloca (len); strcpy (msg2, msg); |