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

Commit

Permalink
fix _PACKAGE
Browse files Browse the repository at this point in the history
  • Loading branch information
fperrad committed Oct 28, 2009
1 parent 82795f3 commit e0819c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/luapackage.pir
Expand Up @@ -373,7 +373,7 @@ each option is a function to be applied over the module.
inc $I0
$I0 = index $S1, '.', $I0
unless $I0 < 0 goto L5
dec $I1
inc $I1
$S0 = substr $S1, 0, $I1
# set _PACKAGE as package name (full module name minus last part)
new $P0, 'LuaString'
Expand Down

0 comments on commit e0819c5

Please sign in to comment.