Skip to content

Commit

Permalink
Use constant instead of magic number for dynext path
Browse files Browse the repository at this point in the history
  • Loading branch information
hoelzro committed Dec 29, 2012
1 parent 9781b25 commit e5e58d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NQP/World.pm
Expand Up @@ -32,7 +32,7 @@ class NQP::World is HLL::World {

if nqp::defined(%*COMPILING<%?OPTIONS><dynext>) {
my $dynext_path := %*COMPILING<%?OPTIONS><dynext>;
my @dynext_paths := pir::getinterp__P()[pir::const::IGLOBALS_LIB_PATHS][2];
my @dynext_paths := pir::getinterp__P()[pir::const::IGLOBALS_LIB_PATHS][pir::const::PARROT_LIB_PATH_DYNEXT];

@dynext_paths.push($dynext_path);
}
Expand Down

0 comments on commit e5e58d3

Please sign in to comment.