Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:AndreasSchwab:13.1
gcc48
gcc48-texi2pod-fixes.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gcc48-texi2pod-fixes.patch of Package gcc48
From 386c402747d2bc6bad3e1bc2f9383d4d669576e0 Mon Sep 17 00:00:00 2001 From: Uros Bizjak <uros@gcc.gnu.org> Date: Sat, 24 May 2014 08:38:31 +0200 Subject: [PATCH] texi2pod.pl: Force .pod file to not be a numbered list. To: gcc-patches@gcc.gnu.org * texi2pod.pl: Force .pod file to not be a numbered list. From-SVN: r210889 --- contrib/ChangeLog | 18 +++++++++++------- contrib/texi2pod.pl | 4 ++-- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/contrib/texi2pod.pl b/contrib/texi2pod.pl index 5a4bbacdf5e..55b6ba75227 100755 --- a/contrib/texi2pod.pl +++ b/contrib/texi2pod.pl @@ -1,6 +1,6 @@ #! /usr/bin/perl -w -# Copyright (C) 1999, 2000, 2001, 2003, 2010 Free Software Foundation, Inc. +# Copyright (C) 1999-2014 Free Software Foundation, Inc. # This file is part of GCC. @@ -337,7 +337,7 @@ while(<$inf>) { $_ = "\n=item $1\n"; } } else { - $_ = "\n=item $ic\n"; + $_ = "\n=item Z\<\>$ic\n"; $ic =~ y/A-Ya-y/B-Zb-z/; $ic =~ s/(\d+)/$1 + 1/eg; } -- 2.26.2 From 6f853fd4536b85da53ebe9897ecbce22602304f8 Mon Sep 17 00:00:00 2001 From: Mingjie Xing <mingjie.xing@gmail.com> Date: Mon, 11 Aug 2014 07:29:41 +0000 Subject: [PATCH] texi2pod.pl (postprocess): Move command process for '@sc' to the front of '@dfn'. To: gcc-patches@gcc.gnu.org * texi2pod.pl (postprocess): Move command process for '@sc' to the front of '@dfn'. Add a new command process for '@t{...}', just print the content. From-SVN: r213808 --- contrib/ChangeLog | 6 ++++++ contrib/texi2pod.pl | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) 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; -- 2.26.2 From 4b5ed6cf575f29f17bad46f10a7b1c3f4a7bdd08 Mon Sep 17 00:00:00 2001 From: Uros Bizjak <uros@gcc.gnu.org> Date: Tue, 4 Aug 2015 18:15:45 +0200 Subject: [PATCH] texi2pod.pl: Escape braces in regexp involving @strong{...}. To: gcc-patches@gcc.gnu.org * texi2pod.pl: Escape braces in regexp involving @strong{...}. From-SVN: r226585 --- contrib/ChangeLog | 16 ++++++++++------ contrib/texi2pod.pl | 2 +- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/contrib/texi2pod.pl b/contrib/texi2pod.pl index eba1bcaa3cf..91bdbb5cea9 100755 --- a/contrib/texi2pod.pl +++ b/contrib/texi2pod.pl @@ -316,7 +316,7 @@ while(<$inf>) { @columns = (); for $column (split (/\s*\@tab\s*/, $1)) { # @strong{...} is used a @headitem work-alike - $column =~ s/^\@strong{(.*)}$/$1/; + $column =~ s/^\@strong\{(.*)\}$/$1/; push @columns, $column; } $_ = "\n=item ".join (" : ", @columns)."\n"; -- 2.26.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor