Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

Commit

Permalink
Switch P6Grammar to use HLL::Compiler.
Browse files Browse the repository at this point in the history
  • Loading branch information
pmichaud committed Oct 17, 2009
1 parent 6bccdbe commit 2f2704b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Regex/P6Grammar.pir
Expand Up @@ -16,7 +16,7 @@ Regex::P6Grammar - scaffolding compiler for NQP / Perl 6 grammars
load_bytecode 'p6regex.pbc'
.local pmc p6meta, p6grammar
p6meta = get_hll_global 'P6metaclass'
p6grammar = p6meta.'new_class'('Regex::P6Grammar::Compiler', 'parent'=>'PCT::HLLCompiler')
p6grammar = p6meta.'new_class'('Regex::P6Grammar::Compiler', 'parent'=>'HLL::Compiler')
p6grammar.'language'('Regex::P6Grammar')
$P0 = get_hll_global ['Regex';'P6Grammar'], 'Grammar'
p6grammar.'parsegrammar'($P0)
Expand Down

0 comments on commit 2f2704b

Please sign in to comment.