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 protoobjects for parsegrammar and parseactions .
Browse files Browse the repository at this point in the history
  • Loading branch information
pmichaud committed Oct 17, 2009
1 parent 88f1d40 commit 6bccdbe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Regex/P6Grammar.pir
Expand Up @@ -18,9 +18,9 @@ Regex::P6Grammar - scaffolding compiler for NQP / Perl 6 grammars
p6meta = get_hll_global 'P6metaclass'
p6grammar = p6meta.'new_class'('Regex::P6Grammar::Compiler', 'parent'=>'PCT::HLLCompiler')
p6grammar.'language'('Regex::P6Grammar')
$P0 = get_hll_namespace ['Regex';'P6Grammar';'Grammar']
$P0 = get_hll_global ['Regex';'P6Grammar'], 'Grammar'
p6grammar.'parsegrammar'($P0)
$P0 = get_hll_namespace ['Regex';'P6Grammar';'Actions']
$P0 = get_hll_global ['Regex';'P6Grammar'], 'Actions'
p6grammar.'parseactions'($P0)
.end
Expand Down

0 comments on commit 6bccdbe

Please sign in to comment.