[svn:parrot] r47324 - trunk/docs/pdds
plobsing at svn.parrot.org
plobsing at svn.parrot.org
Thu Jun 3 06:55:51 UTC 2010
Author: plobsing
Date: Thu Jun 3 06:55:51 2010
New Revision: 47324
URL: https://trac.parrot.org/parrot/changeset/47324
Log:
mark some POD-PIR as invalid (core doesn't contain 'perl5_group' or 'tcl_group' libraries)
Modified:
trunk/docs/pdds/pdd20_lexical_vars.pod
trunk/docs/pdds/pdd21_namespaces.pod
Modified: trunk/docs/pdds/pdd20_lexical_vars.pod
==============================================================================
--- trunk/docs/pdds/pdd20_lexical_vars.pod Thu Jun 3 06:51:03 2010 (r47323)
+++ trunk/docs/pdds/pdd20_lexical_vars.pod Thu Jun 3 06:55:51 2010 (r47324)
@@ -14,7 +14,7 @@
=head2 Synopsis
-=begin PIR
+=begin PIR_INVALID
.sub 'foo'
.lex "$a", $P0
@@ -52,7 +52,7 @@
$P0 = find_lex "x" # SUCCEEDS
.end
-=end PIR
+=end PIR_INVALID
=head2 Description
Modified: trunk/docs/pdds/pdd21_namespaces.pod
==============================================================================
--- trunk/docs/pdds/pdd21_namespaces.pod Thu Jun 3 06:51:03 2010 (r47323)
+++ trunk/docs/pdds/pdd21_namespaces.pod Thu Jun 3 06:55:51 2010 (r47324)
@@ -585,7 +585,7 @@
should map roughly to this PIR:
-=begin PIR
+=begin PIR_INVALID
.HLL "Perl5"
.loadlib "perl5_group"
@@ -596,7 +596,7 @@
set_global "$x", $P0
.end
-=end PIR
+=end PIR_INVALID
In this case, the C<main> sub would be tied to Perl 5 by the C<.HLL>
directive, so a Perl 5 namespace would be created.
@@ -613,7 +613,7 @@
these cases, Parrot should create the namespace based on the HLL of the PIR
subroutine that calls the store function.
-=begin PIR
+=begin PIR_INVALID
.HLL "Perl5"
.loadlib "perl5_group"
@@ -635,7 +635,7 @@
set_global $P2, $S0, $P3
.end
-=end PIR
+=end PIR_INVALID
In this case, C<set_global> should see that it was called from "main",
which is in a Perl 5 namespace, so it will create the "Foo" namespace as
More information about the parrot-commits
mailing list