[svn:parrot] r39302 - trunk/examples/library

NotFound at svn.parrot.org NotFound at svn.parrot.org
Mon Jun 1 16:06:22 UTC 2009


Author: NotFound
Date: Mon Jun  1 16:06:20 2009
New Revision: 39302
URL: https://trac.parrot.org/parrot/changeset/39302

Log:
[examples] don't .include libraries

Modified:
   trunk/examples/library/pcre.pir

Modified: trunk/examples/library/pcre.pir
==============================================================================
--- trunk/examples/library/pcre.pir	Mon Jun  1 13:07:05 2009	(r39301)
+++ trunk/examples/library/pcre.pir	Mon Jun  1 16:06:20 2009	(r39302)
@@ -21,10 +21,6 @@
 
 =cut
 
-
-.include 'library/pcre.pir'
-
-
 .sub main :main
     .param pmc argv
 
@@ -35,6 +31,7 @@
     .local pmc func
     .local pmc lib
 
+    load_bytecode 'pcre.pbc'
     func= get_hll_global ['PCRE'], 'init'
     lib= func()
 


More information about the parrot-commits mailing list