Skip to content

Commit

Permalink
Implement [Rop]
Browse files Browse the repository at this point in the history
  • Loading branch information
bacek authored and pmichaud committed Mar 3, 2009
1 parent 688f9a2 commit 868c638
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build/gen_metaop_pir.pl
Expand Up @@ -103,6 +103,12 @@
.param pmc b
.tailcall 'infix:$opname'(b, a)
.end\n);
push @gtokens, sprintf( $reducefmt, "R$opname", "R$opname" );
push @code, qq(
.sub 'prefix:[R$opname]'
.param pmc args :slurpy
.tailcall '!REDUCEMETAOP$chain'('R$opname', $identity, args)
.end\n);

# Cross operators.
push @gtokens, sprintf( $crossfmt, $opname );
Expand Down

0 comments on commit 868c638

Please sign in to comment.