[svn:parrot] r47668 - trunk/docs/book/pir

whiteknight at svn.parrot.org whiteknight at svn.parrot.org
Thu Jun 17 00:54:52 UTC 2010

Author: whiteknight
Date: Thu Jun 17 00:54:52 2010
New Revision: 47668
URL: https://trac.parrot.org/parrot/changeset/47668

[docs] fix POD error that was breaking t/examples/pod.t. mikehh++ for the find


Modified: trunk/docs/book/pir/ch07_objects.pod
--- trunk/docs/book/pir/ch07_objects.pod	Thu Jun 17 00:07:49 2010	(r47667)
+++ trunk/docs/book/pir/ch07_objects.pod	Thu Jun 17 00:54:52 2010	(r47668)
@@ -117,28 +117,28 @@
 PMCs have two VTABLE interface functions for dealing with instantiating a new
 object: C<init> and C<init_pmc>. The former is called when a new PMC is
 created, the later is called when a new PMC is created with an initialization
+=begin PIR
     .namespace ["Foo"]
     .sub 'init' :vtable
         say "Creating a new Foo"
     .sub 'init_pmc' :vtable
         .param pmc args
         print "Creating a new Foo with argument "
         say args
     .sub 'main' :main
         $P1 = new ['Foo']       # init
         $P2 = new ['Foo'], $P1  # init_pmc
+=end PIR
 =head2 Methods
@@ -393,7 +393,7 @@
 Classes defined in PIR using the C<newclass> opcode are instances of the
 C<Class> PMCX<Class PMC>. This PMC contains all the meta-information for
 the class, such as attribute definitions, methods, vtable overrides, and
-its inheritance hierarchy. The opcode C<inspect>X<inspect opcode> 
+its inheritance hierarchy. The opcode C<inspect>X<inspect opcode>
 provides a way to peek behind the curtain of encapsulation to see what
 makes a class tick. When called with no arguments, C<inspect> returns an
 associative array containing data on all characteristics of the class

More information about the parrot-commits mailing list