Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
427e84f7
Commit
427e84f7
authored
Feb 06, 2007
by
Richard Sandiford
Committed by
Richard Sandiford
Feb 06, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
texi2pod.pl: Handle @multitable.
contrib/ * texi2pod.pl: Handle @multitable. From-SVN: r121646
parent
56826557
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
0 deletions
+22
-0
contrib/ChangeLog
+4
-0
contrib/texi2pod.pl
+18
-0
No files found.
contrib/ChangeLog
View file @
427e84f7
2007
-
02
-
06
Richard
Sandiford
<
richard
@codesourcery
.
com
>
*
texi2pod
.
pl
:
Handle
@multitable
.
2007
-
01
-
15
Tom
Tromey
<
tromey
@redhat
.
com
>
*
download_ecj
:
New
file
.
...
...
contrib/texi2pod.pl
View file @
427e84f7
...
...
@@ -162,6 +162,8 @@ while(<$inf>) {
}
elsif
(
$ended
=~
/^(?:itemize|enumerate|[fv]?table)$/
)
{
$_
=
"\n=back\n"
;
$ic
=
pop
@icstack
;
}
elsif
(
$ended
eq
"multitable"
)
{
$_
=
"\n=back\n"
;
}
else
{
die
"unknown command \@end $ended at line $.\n"
;
}
...
...
@@ -278,6 +280,12 @@ while(<$inf>) {
$endw
=
"enumerate"
;
};
/^\@multitable\s.*/
and
do
{
push
@endwstack
,
$endw
;
$endw
=
"multitable"
;
$_
=
"\n=over 4\n"
;
};
/^\@([fv]?table)\s+(\@[a-z]+)/
and
do
{
push
@endwstack
,
$endw
;
push
@icstack
,
$ic
;
...
...
@@ -297,6 +305,16 @@ while(<$inf>) {
$_
=
""
;
# need a paragraph break
};
/^\@item\s+(.*\S)\s*$/
and
$endw
eq
"multitable"
and
do
{
@columns
=
();
for
$column
(
split
(
/\s*\@tab\s*/
,
$1
))
{
# @strong{...} is used a @headitem work-alike
$column
=~
s/^\@strong{(.*)}$/$1/
;
push
@columns
,
$column
;
}
$_
=
"\n=item "
.
join
(
" : "
,
@columns
)
.
"\n"
;
};
/^\@itemx?\s*(.+)?$/
and
do
{
if
(
defined
$1
)
{
# Entity escapes prevent munging by the <> processing below.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment