summaryrefslogtreecommitdiffstats
path: root/Doc/perl
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-08-20 21:36:38 (GMT)
committerFred Drake <fdrake@acm.org>2001-08-20 21:36:38 (GMT)
commit16bb41934c1258282170e7773e36fe7ffad3cfdc (patch)
tree3224ff91de4a675162f9f04a49c3567d15594034 /Doc/perl
parent2a274a7e41d063748f17c8b037df9a3715a32bf2 (diff)
downloadcpython-16bb41934c1258282170e7773e36fe7ffad3cfdc.zip
cpython-16bb41934c1258282170e7773e36fe7ffad3cfdc.tar.gz
cpython-16bb41934c1258282170e7773e36fe7ffad3cfdc.tar.bz2
New \grammartoken markup, similar to \token but allowed everywhere.
Diffstat (limited to 'Doc/perl')
-rw-r--r--Doc/perl/python.perl4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/perl/python.perl b/Doc/perl/python.perl
index f5363c6..2f86de6 100644
--- a/Doc/perl/python.perl
+++ b/Doc/perl/python.perl
@@ -716,6 +716,10 @@ sub do_cmd_token{
return "<a href=\"$target\">$token</a>" . $_;
}
+sub do_cmd_grammartoken{
+ return do_cmd_token(@_);
+}
+
sub do_env_productionlist{
local($_) = @_;
my $lang = next_optional_argument();