[svn:parrot] r38702 - trunk/runtime/parrot/library

NotFound at svn.parrot.org NotFound at svn.parrot.org
Mon May 11 21:42:56 UTC 2009


Author: NotFound
Date: Mon May 11 21:42:56 2009
New Revision: 38702
URL: https://trac.parrot.org/parrot/changeset/38702

Log:
[cage] some more s/pir/pbc

Modified:
   trunk/runtime/parrot/library/Pg.pir
   trunk/runtime/parrot/library/dumper.pir
   trunk/runtime/parrot/library/yaml_dumper.pir

Modified: trunk/runtime/parrot/library/Pg.pir
==============================================================================
--- trunk/runtime/parrot/library/Pg.pir	Mon May 11 21:20:02 2009	(r38701)
+++ trunk/runtime/parrot/library/Pg.pir	Mon May 11 21:42:56 2009	(r38702)
@@ -44,7 +44,7 @@
 
 .sub __load :load
     .local pmc cl
-    load_bytecode "postgres.pir"         # TODO .pbc
+    load_bytecode 'postgres.pbc'
     cl = newclass 'Pg'       # Pg connection constructor
 
     # XXX the hasa 'con' is suboptimal

Modified: trunk/runtime/parrot/library/dumper.pir
==============================================================================
--- trunk/runtime/parrot/library/dumper.pir	Mon May 11 21:20:02 2009	(r38701)
+++ trunk/runtime/parrot/library/dumper.pir	Mon May 11 21:42:56 2009	(r38702)
@@ -30,7 +30,7 @@
 .sub __library_dumper_print_usage
     say "# usage:"
     say ".sub main"
-    say "    load_bytecode 'Data/Dumper.pir'"
+    say "    load_bytecode 'Data/Dumper.pbc'"
     say ''
     say "    .local pmc foo, dumper"
     say "    foo    = new 'ResizablePMCArray'"
@@ -153,13 +153,13 @@
     goto TYPE_OK
 
   load_dd_pir:
-    load_bytecode "Data/Dumper.pir"
+    load_bytecode "Data/Dumper.pbc"
     get_class dd_class, "Data::Dumper"
     if null dd_class goto no_class
     goto TYPE_OK
 
   no_class:
-    print "fatal error: failure while loading Data/Dumper.pir\n"
+    print "fatal error: failure while loading Data/Dumper.pbc\n"
     end
 TYPE_OK:
 

Modified: trunk/runtime/parrot/library/yaml_dumper.pir
==============================================================================
--- trunk/runtime/parrot/library/yaml_dumper.pir	Mon May 11 21:20:02 2009	(r38701)
+++ trunk/runtime/parrot/library/yaml_dumper.pir	Mon May 11 21:42:56 2009	(r38702)
@@ -30,7 +30,7 @@
 .sub __library_yaml_dumper_print_usage
     say "# usage:"
     say ".sub main"
-    say "    load_bytecode 'YAML/Dumper.pir'"
+    say "    load_bytecode 'YAML/Dumper.pbc'"
     say ''
     say "    .local pmc foo, yaml_dumper"
     say "    foo         = new 'ResizablePMCArray'"
@@ -153,13 +153,13 @@
     goto TYPE_OK
 
   load_yd_pir:
-    load_bytecode "YAML/Dumper.pir"
+    load_bytecode "YAML/Dumper.pbc"
     get_class yd_class, "YAML::Dumper"
     if null yd_class goto no_class
     goto TYPE_OK
 
   no_class:
-    print "fatal error: failure while loading YAML/Dumper.pir\n"
+    print "fatal error: failure while loading YAML/Dumper.pbc\n"
     end
 TYPE_OK:
 


More information about the parrot-commits mailing list