On Tue, Oct 25, 2005 at 04:56:57PM +0200, Leopold Toetsch wrote:
> >How do I get an anonymous coroutine into a register?
>
> As these 2 .subs are generated in one bunch and compiled ...
>
> >.sub _pge_rule
> >.param pmc mob
>
> ... drop the var decl:
>
> >.local pmc corou
>
On Oct 28, 2005, at 0:02, Patrick R. Michaud wrote:
On Tue, Oct 25, 2005 at 04:56:57PM +0200, Leopold Toetsch wrote:
.const .Sub corou = "_pge_rule_coroutine"
I tried the .Sub constant and I get an error:
The .const line is only valid inside a subroutine. And we can't do much
Patrick R. Michaud wrote:
On Tue, Oct 25, 2005 at 01:53:52PM +0200, Leopold Toetsch wrote:
The C opcode will be removed RSN.
Please read docs/compiler_faq.pod for replacing C.
How do I get an anonymous coroutine into a register?
PGE currently does something similar to the following:
As
On Tue, Oct 25, 2005 at 01:53:52PM +0200, Leopold Toetsch wrote:
> The C opcode will be removed RSN.
>
> Subroutines (and coroutines) created just from a label are lacking vital
> information, like name, namespace, and especially register usage.
>
> Please read docs/compiler_faq.pod for replacin