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

Commit

Permalink
[regex]: Add 'pastnode' type for PAST::Regex.
Browse files Browse the repository at this point in the history
  • Loading branch information
pmichaud committed Oct 26, 2009
1 parent a669f19 commit 920efd9
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/PAST/Compiler-Regex.pir
Expand Up @@ -729,6 +729,17 @@ second child of this node.
.end


=item 'pastnode'(PAST::Regex node)

=cut

.sub 'pastnode' :method :multi(_, ['PAST';'Regex'])
.param pmc node
$P0 = node[0]
.tailcall self.'as_post'($P0)
.end


=item pass(PAST::Regex node)

=cut
Expand Down

0 comments on commit 920efd9

Please sign in to comment.