[Python-checkins] CVS: python/dist/src/Doc/perl python.perl,1.116.4.1,1.116.4.2
Fred L. Drake
fdrake@users.sourceforge.net
Fri, 15 Mar 2002 15:18:07 -0800
- Previous message: [Python-checkins] CVS: python/dist/src/Doc/texinputs howto.cls,1.12,1.13 manual.cls,1.17,1.18
- Next message: [Python-checkins] CVS: python/dist/src/Doc/ref ref2.tex,1.34,1.34.6.1 ref5.tex,1.53,1.53.4.1 ref6.tex,1.47,1.47.4.1 ref7.tex,1.29.8.2,1.29.8.3 refa1.tex,1.9.8.1,1.9.8.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Doc/perl
In directory usw-pr-cvs1:/tmp/cvs-serv19862/perl
Modified Files:
Tag: release22-maint
python.perl
Log Message:
Revise the markup related to the grammar productions to increase the
level of predictability. This is not really "good" markup, but is arguably
better than we had before.
This closes SF bug #523117.
Index: python.perl
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/perl/python.perl,v
retrieving revision 1.116.4.1
retrieving revision 1.116.4.2
diff -C2 -d -r1.116.4.1 -r1.116.4.2
*** python.perl 13 Mar 2002 02:45:58 -0000 1.116.4.1
--- python.perl 15 Mar 2002 23:18:05 -0000 1.116.4.2
***************
*** 806,809 ****
--- 806,821 ----
}
+ sub do_cmd_productioncont{
+ local($_) = @_;
+ my $defn = next_argument();
+ return ("<tr valign=\"baseline\">\n"
+ . " <td> </td>\n"
+ . " <td> </td>\n"
+ . " <td><code>"
+ . translate_commands($defn)
+ . "</code></td></tr>"
+ . $_);
+ }
+
sub process_grammar_files{
my $lang;
***************
*** 846,849 ****
--- 858,862 ----
sub strip_grammar_markup{
local($_) = @_;
+ s/\\productioncont/ /g;
s/\\production(<<\d+>>)(.+)\1/\n\2 ::= /g;
s/\\token(<<\d+>>)(.+)\1/\2/g;
- Previous message: [Python-checkins] CVS: python/dist/src/Doc/texinputs howto.cls,1.12,1.13 manual.cls,1.17,1.18
- Next message: [Python-checkins] CVS: python/dist/src/Doc/ref ref2.tex,1.34,1.34.6.1 ref5.tex,1.53,1.53.4.1 ref6.tex,1.47,1.47.4.1 ref7.tex,1.29.8.2,1.29.8.3 refa1.tex,1.9.8.1,1.9.8.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]