Commit 63b8a166 by Jakub Jelinek Committed by Jakub Jelinek

re PR translation/90041 (Command line option without proper quoting in translation message)

	PR translation/90041
	* exgettext: Print MissingArgError, UnknownError or Warn
	*.opt argument using error or warning instead of _ to mark it
	as gcc-internal-format.

	* c.opt (-fhandle-exceptions): Use %< and %> around option names
	in the Warn diagnostics.

From-SVN: r270321
parent c46f1a17
2019-04-12 Jakub Jelinek <jakub@redhat.com>
PR translation/90041
* c.opt (-fhandle-exceptions): Use %< and %> around option names
in the Warn diagnostics.
PR c/89946
* c-attribs.c (handle_patchable_function_entry_attribute): Add
function comment. Warn if arguments of the attribute are not positive
......
......@@ -1516,7 +1516,7 @@ fguiding-decls
C++ ObjC++ Deprecated
fhandle-exceptions
C++ ObjC++ Optimization Alias(fexceptions) Warn({-fhandle-exceptions has been renamed -fexceptions (and is now on by default)})
C++ ObjC++ Optimization Alias(fexceptions) Warn({%<-fhandle-exceptions%> has been renamed %<-fexceptions%> (and is now on by default)})
fhonor-std
C++ ObjC++ Deprecated
......
2019-04-12 Jakub Jelinek <jakub@redhat.com>
PR translation/90041
* exgettext: Print MissingArgError, UnknownError or Warn
*.opt argument using error or warning instead of _ to mark it
as gcc-internal-format.
* de.po, sv.po: Update.
2019-04-02 Iain Buclaw <ibuclaw@gdcproject.org>
......
......@@ -252,7 +252,7 @@ echo "scanning option files..." >&2
} else
sub("\\).*", "", line)
printf("#line %d \"%s\"\n", lineno, file)
printf("_(\"%s\")\n", line)
printf("error(\"%s\")\n", line)
}
if ((field == 1) && /UnknownError/) {
line = $0
......@@ -263,7 +263,7 @@ echo "scanning option files..." >&2
} else
sub("\\).*", "", line)
printf("#line %d \"%s\"\n", lineno, file)
printf("_(\"%s\")\n", line)
printf("error(\"%s\")\n", line)
}
if ((field == 1) && /Warn\(/) {
line = $0
......@@ -274,7 +274,7 @@ echo "scanning option files..." >&2
} else
sub("\\).*", "", line)
printf("#line %d \"%s\"\n", lineno, file)
printf("_(\"%s\")\n", line)
printf("warning(0, \"%s\")\n", line)
}
if (field == 2) {
line = $0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment