Changeset 1391 for branches/GNU/src/gcc/contrib/texi2pod.pl
- Timestamp:
- Apr 27, 2004, 8:39:34 PM (21 years ago)
- Location:
- branches/GNU/src/gcc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GNU/src/gcc
- Property svn:ignore
-
old new 26 26 configure.vr 27 27 configure.vrs 28 dir.info 28 29 Makefile 29 dir.info30 30 lost+found 31 31 update.out
-
- Property svn:ignore
-
branches/GNU/src/gcc/contrib/texi2pod.pl
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1390 r1391 139 139 # cause us to skip, if we are presently skipping. 140 140 my $ended = $1; 141 next if $skipping && $ended !~ /^(?:ifset|ifclear|ignore|menu|iftex )$/;141 next if $skipping && $ended !~ /^(?:ifset|ifclear|ignore|menu|iftex|copying)$/; 142 142 143 143 die "\@end $ended without \@$ended at line $.\n" unless defined $endw; … … 179 179 }; 180 180 181 /^\@(ignore|menu|iftex )\b/ and do {181 /^\@(ignore|menu|iftex|copying)\b/ and do { 182 182 push @endwstack, $endw; 183 183 push @skstack, $skipping; … … 366 366 s/\@uref\{([^\},]*),([^\},]*),([^\},]*)\}/$3/g; 367 367 368 # Turn B<blah I<blah> blah> into B<blah> I<blah> B<blah> to 369 # match Texinfo semantics of @emph inside @samp. Also handle @r 370 # inside bold. 368 # Un-escape <> at this point. 371 369 s/</</g; 372 370 s/>/>/g; 373 1 while s/B<((?:[^<>]|I<[^<>]*>)*)R<([^>]*)>/B<$1>${2}B</g; 374 1 while (s/B<([^<>]*)I<([^>]+)>/B<$1>I<$2>B</g); 375 1 while (s/I<([^<>]*)B<([^>]+)>/I<$1>B<$2>I</g); 371 372 # Now un-nest all B<>, I<>, R<>. Theoretically we could have 373 # indefinitely deep nesting; in practice, one level suffices. 374 1 while s/([BIR])<([^<>]*)([BIR])<([^<>]*)>/$1<$2>$3<$4>$1</g; 375 376 # Replace R<...> with bare ...; eliminate empty markup, B<>; 377 # shift white space at the ends of [BI]<...> expressions outside 378 # the expression. 379 s/R<([^<>]*)>/$1/g; 376 380 s/[BI]<>//g; 377 381 s/([BI])<(\s+)([^>]+)>/$2$1<$3>/g; -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.