summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorxmj <xmj@138bc75d-0d04-0410-961f-82ee72b054a4>2014-08-11 07:29:41 +0000
committerxmj <xmj@138bc75d-0d04-0410-961f-82ee72b054a4>2014-08-11 07:29:41 +0000
commit6be49d577254ca021cf0904f920d9785d5fc74c8 (patch)
tree57139eaa18a8ea2e0eb86bae980bb6e1674c41e4 /contrib
parentff326078125a8b600564ba0133cf4c785249fafc (diff)
downloadgcc-6be49d577254ca021cf0904f920d9785d5fc74c8.tar.gz
* texi2pod.pl (postprocess): Move command process for '@sc' to the
front of '@dfn'. Add a new command process for '@t{...}', just print the content. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213808 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'contrib')
-rw-r--r--contrib/ChangeLog6
-rwxr-xr-xcontrib/texi2pod.pl3
2 files changed, 8 insertions, 1 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index 8060536ad29..e2e89ebeb88 100644
--- a/contrib/ChangeLog
+++ b/contrib/ChangeLog
@@ -1,3 +1,9 @@
+2014-08-11 Mingjie Xing <mingjie.xing@gmail.com>
+
+ * texi2pod.pl (postprocess): Move command process for '@sc' to the
+ front of '@dfn'. Add a new command process for '@t{...}', just print
+ the content.
+
2014-07-21 Trevor Saunders <tsaunders@mozilla.com>
Yury Gribov <y.gribov@samsung.com>
diff --git a/contrib/texi2pod.pl b/contrib/texi2pod.pl
index 55b6ba75227..eba1bcaa3cf 100755
--- a/contrib/texi2pod.pl
+++ b/contrib/texi2pod.pl
@@ -389,15 +389,16 @@ sub postprocess
# Formatting commands.
# Temporary escape for @r.
s/\@r\{([^\}]*)\}/R<$1>/g;
+ s/\@sc\{([^\}]*)\}/\U$1/g;
s/\@(?:dfn|var|emph|cite|i)\{([^\}]*)\}/I<$1>/g;
s/\@(?:code|kbd)\{([^\}]*)\}/C<$1>/g;
s/\@(?:samp|strong|key|option|env|command|b)\{([^\}]*)\}/B<$1>/g;
- s/\@sc\{([^\}]*)\}/\U$1/g;
s/\@acronym\{([^\}]*)\}/\U$1/g;
s/\@file\{([^\}]*)\}/F<$1>/g;
s/\@w\{([^\}]*)\}/S<$1>/g;
s/\@(?:dmn|math)\{([^\}]*)\}/$1/g;
s/\@\///g;
+ s/\@t\{([^\}]*)\}/$1/g;
# keep references of the form @ref{...}, print them bold
s/\@(?:ref)\{([^\}]*)\}/B<$1>/g;