Author: rurban
Date: Fri Jan 2 16:30:41 2009
New Revision: 34840
Modified:
branches/pdd30install_stage3/examples/tge/branch/transform.pir
branches/pdd30install_stage3/runtime/parrot/library/SDL/LCD.pir
branches/pdd30install_stage3/runtime/parrot/library/Test/Class.pir
Log:
More trac TT#123 fixes, remove more hard-coded runtime/ paths from libs
Modified: branches/pdd30install_stage3/examples/tge/branch/transform.pir
==============================================================================
--- branches/pdd30install_stage3/examples/tge/branch/transform.pir
(original)
+++ branches/pdd30install_stage3/examples/tge/branch/transform.pir Fri Jan
2 16:30:41 2009
@@ -17,7 +17,7 @@
.sub _main :main
.param pmc argv
- load_bytecode '../../../runtime/parrot/library/TGE.pbc'
+ load_bytecode 'TGE.pbc'
load_bytecode 'lib/Leaf.pir'
load_bytecode 'lib/Branch.pir'
Modified: branches/pdd30install_stage3/runtime/parrot/library/SDL/LCD.pir
==============================================================================
--- branches/pdd30install_stage3/runtime/parrot/library/SDL/LCD.pir
(original)
+++ branches/pdd30install_stage3/runtime/parrot/library/SDL/LCD.pir Fri Jan
2 16:30:41 2009
@@ -45,11 +45,12 @@
.return()
create_class:
- load_bytecode 'library/SDL/Image.pir'
- load_bytecode 'library/SDL/Rect.pir'
+ load_bytecode 'SDL/Image.pir'
+ load_bytecode 'SDL/Rect.pir'
.local pmc digits
digits = new 'SDL::Image'
+ # TODO: TT#123
digits.'init'( 'runtime/parrot/library/SDL/LCD.png' )
global 'digits' = digits
Modified: branches/pdd30install_stage3/runtime/parrot/library/Test/Class.pir
==============================================================================
--- branches/pdd30install_stage3/runtime/parrot/library/Test/Class.pir
(original)
+++ branches/pdd30install_stage3/runtime/parrot/library/Test/Class.pir Fri Jan
2 16:30:41 2009
@@ -6,10 +6,10 @@
.sub 'main'
# load this library
- load_bytecode 'library/Test/Class.pbc'
+ load_bytecode 'Test/Class.pbc'
# load other testing libraries
- .include 'include/test_more.pir'
+ .include 'test_more.pir'
.local pmc class
class = subclass [ 'Test'; 'Class' ], 'MyClass'
@@ -63,7 +63,7 @@
.namespace [ 'Test'; 'Class' ]
.sub '__init__' :load
- load_bytecode 'runtime/parrot/library/Test/More.pbc'
+ load_bytecode 'Test/More.pbc'
.local pmc class
class = newclass [ 'Test'; 'Class' ]