Skip to content

Commit

Permalink
Merge pull request #793 from vrurg/rakuast-lang-version
Browse files Browse the repository at this point in the history
Provide current compiler via $*HLL-COMPILER
  • Loading branch information
vrurg committed Jan 23, 2023
2 parents aa7fbea + 54518e9 commit bbe28e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/HLL/Compiler.nqp
Expand Up @@ -478,6 +478,7 @@ class HLL::Compiler does HLL::Backend::Default {
my %*COMPILING := nqp::clone(nqp::ifnull(nqp::getlexdyn('%*COMPILING'), nqp::hash()));
%*COMPILING<%?OPTIONS> := %adverbs;
my $*LINEPOSCACHE := $lineposcache;
my $*HLL-COMPILER := self;

my $target := nqp::lc(%adverbs<target>);
my $result := $source;
Expand Down

0 comments on commit bbe28e2

Please sign in to comment.