]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
xgettext: Deprecate --trigraphs.
authorBruno Haible <bruno@clisp.org>
Tue, 10 Sep 2024 09:38:42 +0000 (11:38 +0200)
committerBruno Haible <bruno@clisp.org>
Tue, 10 Sep 2024 11:41:48 +0000 (13:41 +0200)
* gettext-tools/src/xgettext.c (usage): Mark option --trigraphs as deprecated.
* gettext-tools/doc/xgettext.texi: Likewise.

gettext-tools/doc/xgettext.texi
gettext-tools/src/xgettext.c

index 954d373508cba35251b88ee82825f7f079baea8e..5cb6c114ec9fe6cf2f2c36788fe8b2a2c5cbc87e 100644 (file)
@@ -414,7 +414,8 @@ YCP, Tcl, Perl, PHP, GCC-source, Lua, JavaScript, Vala.
 @opindex -T@r{, @code{xgettext} option}
 @opindex --trigraphs@r{, @code{xgettext} option}
 @cindex C trigraphs
-Understand ANSI C trigraphs for input.
+Understand ANSI C trigraphs for input
+(deprecated, since trigraphs have been removed from ISO C 23).
 @*
 This option has an effect only with the languages C, C++, ObjectiveC.
 
index 928a3d75230ba5d4351b5892501644cabc78d58f..fb185464fde900afb464d999595483012fe45347 100644 (file)
@@ -1166,7 +1166,7 @@ Language specific options:\n"));
       printf (_("\
   -T, --trigraphs             understand ANSI C trigraphs for input\n"));
       printf (_("\
-                                (only languages C, C++, ObjectiveC)\n"));
+                                (deprecated; only languages C, C++, ObjectiveC)\n"));
       printf (_("\
       --its=FILE              apply ITS rules from FILE\n"));
       printf (_("\