[svn:parrot] r39568 - trunk/docs/pdds

barney at svn.parrot.org barney at svn.parrot.org
Mon Jun 15 09:41:32 UTC 2009


Author: barney
Date: Mon Jun 15 09:41:30 2009
New Revision: 39568
URL: https://trac.parrot.org/parrot/changeset/39568

Log:
Better annotation of PIR examples
Courtesy of mikehh++

Modified:
   trunk/docs/pdds/pdd19_pir.pod

Modified: trunk/docs/pdds/pdd19_pir.pod
==============================================================================
--- trunk/docs/pdds/pdd19_pir.pod	Mon Jun 15 01:17:57 2009	(r39567)
+++ trunk/docs/pdds/pdd19_pir.pod	Mon Jun 15 09:41:30 2009	(r39568)
@@ -1276,7 +1276,7 @@
       .return(xy) 
     .end
 
-=end PIR_INVALID
+=end PIR
 
 =head3 Subroutine Call
 
@@ -1306,7 +1306,7 @@
 
 =head3 NCI Call
 
-=begin PIR_FRAGMENT
+=begin PIR_FRAGMENT_TODO
 
     load_lib $P0, "libname"
     dlfunc $P1, $P0, "funcname", "signature"
@@ -1320,7 +1320,7 @@
       .get_result r
     .end_call
 
-=end PIR_FRAGMENT
+=end PIR_FRAGMENT_TODO
 
 =head3 Subroutine Call Syntactic Sugar
 
@@ -1342,16 +1342,16 @@
 
 Instead of the label a subroutine object can be used too:
 
-=begin PIR_FRAGMENT
+=begin PIR_FRAGMENT_TODO
 
    get_global $P0, "sub_label"
    $P0(args)
 
-=end PIR_FRAGMENT
+=end PIR_FRAGMENT_TODO
 
 =head3 Methods
 
-=begin PIR
+=begin PIR_TODO
 
   .namespace [ "Foo" ]
 
@@ -1368,7 +1368,7 @@
     ...
   .end
 
-=end PIR
+=end PIR_TODO
 
 The variable "self" automatically refers to the invocating object, if the
 subroutine declaration contains "method".


More information about the parrot-commits mailing list