Skip to content
This repository has been archived by the owner on Jun 9, 2018. It is now read-only.

Commit

Permalink
try .pbc before .lua
Browse files Browse the repository at this point in the history
tests run faster because Test.More is already compiled.
Now, with previous commit, require 'Test.More' loads
 languages/lua/library/Test/More.pbc
instead of
 library/Test/More.pbc
  • Loading branch information
fperrad committed Sep 21, 2009
1 parent 0fd29ff commit 84bc11c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/lib/luapackage.pir
Expand Up @@ -52,14 +52,14 @@ LIST
set $P2, 1
_loaders[$P2] = loader_preload

.const 'Sub' loader_Lua = 'loader_Lua'
inc $P2
_loaders[$P2] = loader_Lua

.const 'Sub' loader_PBC = 'loader_PBC'
inc $P2
_loaders[$P2] = loader_PBC

.const 'Sub' loader_Lua = 'loader_Lua'
inc $P2
_loaders[$P2] = loader_Lua

.const 'Sub' loader_PBCroot = 'loader_PBCroot'
inc $P2
_loaders[$P2] = loader_PBCroot
Expand Down

0 comments on commit 84bc11c

Please sign in to comment.