Skip to content

Commit eb5f068

Browse files
committed
Register NQP as just NQP, not NQP-rx.
1 parent 2e788f6 commit eb5f068

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/NQP/Actions.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ method outerctx($/) {
165165
unless pir::defined(%*COMPILING<%?OPTIONS><outer_ctx>) {
166166
# We haven't got a specified outer context already, so load a
167167
# setting. XXX Won't work for pre-compiled case yet.
168-
pir::compreg__Ps('NQP-rx').load_setting(%*COMPILING<%?OPTIONS><setting> // 'NQPCORE');
168+
pir::compreg__Ps('nqp').load_setting(%*COMPILING<%?OPTIONS><setting> // 'NQPCORE');
169169
}
170170
self.SET_BLOCK_OUTER_CTX(@BLOCK[0]);
171171
}

src/NQP/Compiler.pir

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ NQP::Compiler - NQP compiler
4040
.local pmc nqpproto, nqpcomp
4141
nqpproto = get_hll_global ['NQP'], 'Compiler'
4242
nqpcomp = nqpproto.'new'()
43-
nqpcomp.'language'('NQP-rx')
43+
nqpcomp.'language'('nqp')
4444
$P0 = get_hll_global ['NQP'], 'Grammar'
4545
nqpcomp.'parsegrammar'($P0)
4646
$P0 = get_hll_global ['NQP'], 'Actions'
@@ -53,7 +53,7 @@ NQP::Compiler - NQP compiler
5353
.sub 'main' :main
5454
.param pmc args_str
5555

56-
$P0 = compreg 'NQP-rx'
56+
$P0 = compreg 'nqp'
5757
$P1 = $P0.'command_line'(args_str, 'encoding'=>'utf8', 'transcode'=>'ascii iso-8859-1')
5858
exit 0
5959
.end

0 commit comments

Comments
 (0)