NQP question to add a null value node
Moritz Lenz
moritz at faui2k3.org
Fri Mar 4 14:03:54 UTC 2011
Am 04.03.2011 14:15, schrieb Patrick R. Michaud:
> On Fri, Mar 04, 2011 at 01:11:43PM +0100, Gerd Pokorra wrote:
>> How can I add a node with the value null with NQP?
>> method value:sym<null>($/) {
>> # ????
>> }
>
> Perhaps...?
>
> method value:sym<null>($/) {
> pir::null();
Should be:
pir::null__p()
Seems it doesn't know the signature of the 'null' opcode.
Cheers,
Moritz
More information about the parrot-dev
mailing list