develooper Front page | perl.perl6.internals | Postings from October 2001

Re: [PATCH] Constant Access Macros

Thread Previous | Thread Next
From:
Simon Cozens
Date:
October 1, 2001 02:25
Subject:
Re: [PATCH] Constant Access Macros
Message ID:
20011001102234.B364@netthink.co.uk
On Sun, Sep 30, 2001 at 11:37:37PM -0400, Jason Gloudon wrote:
> Here is a patch for macros for accessing constants from ops.  This uses
> (INT|STR|NUM)_PCONST(i) for the relevant types. Best to avoid filling opcode
> definitions with manual structure dereferences.

Nice idea, but I'd *much* rather it were done in process_opfunc.pl. Best to
avoid filling the source with macros - we've been down that path before. :)

-- 
You are in a maze of little twisting passages, all alike.

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About