develooper Front page | perl.cvs.parrot | Postings from December 2008

[svn:parrot] r34354 - trunk/compilers/ncigen/src

From:
tewk
Date:
December 25, 2008 11:57
Subject:
[svn:parrot] r34354 - trunk/compilers/ncigen/src
Message ID:
20081225195618.89D99CBA12@x12.develooper.com
Author: tewk
Date: Thu Dec 25 11:56:17 2008
New Revision: 34354

Modified:
   trunk/compilers/ncigen/src/NCIGENAST.pir

Log:
[ncigen] Added clone method that disappeared form pct


Modified: trunk/compilers/ncigen/src/NCIGENAST.pir
==============================================================================
--- trunk/compilers/ncigen/src/NCIGENAST.pir	(original)
+++ trunk/compilers/ncigen/src/NCIGENAST.pir	Thu Dec 25 11:56:17 2008
@@ -29,6 +29,11 @@
     .return ()
 .end
 
+.sub 'clone' :method
+    $P0 = clone self
+    .return ($P0)
+.end
+
 =head1 NCIGENAST Node types
 
 =head2 NCIGENAST::Node



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About