Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Register NQP as just NQP, not NQP-rx.
  • Loading branch information
jnthn committed Mar 6, 2011
1 parent 2e788f6 commit eb5f068
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/NQP/Actions.pm
Expand Up @@ -165,7 +165,7 @@ method outerctx($/) {
unless pir::defined(%*COMPILING<%?OPTIONS><outer_ctx>) {
# We haven't got a specified outer context already, so load a
# setting. XXX Won't work for pre-compiled case yet.
pir::compreg__Ps('NQP-rx').load_setting(%*COMPILING<%?OPTIONS><setting> // 'NQPCORE');
pir::compreg__Ps('nqp').load_setting(%*COMPILING<%?OPTIONS><setting> // 'NQPCORE');
}
self.SET_BLOCK_OUTER_CTX(@BLOCK[0]);
}
Expand Down
4 changes: 2 additions & 2 deletions src/NQP/Compiler.pir
Expand Up @@ -40,7 +40,7 @@ NQP::Compiler - NQP compiler
.local pmc nqpproto, nqpcomp
nqpproto = get_hll_global ['NQP'], 'Compiler'
nqpcomp = nqpproto.'new'()
nqpcomp.'language'('NQP-rx')
nqpcomp.'language'('nqp')
$P0 = get_hll_global ['NQP'], 'Grammar'
nqpcomp.'parsegrammar'($P0)
$P0 = get_hll_global ['NQP'], 'Actions'
Expand All @@ -53,7 +53,7 @@ NQP::Compiler - NQP compiler
.sub 'main' :main
.param pmc args_str

$P0 = compreg 'NQP-rx'
$P0 = compreg 'nqp'
$P1 = $P0.'command_line'(args_str, 'encoding'=>'utf8', 'transcode'=>'ascii iso-8859-1')
exit 0
.end
Expand Down

0 comments on commit eb5f068

Please sign in to comment.