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

Re: [PATCH] Constant Access Macros

Thread Previous | Thread Next
From:
Jason Gloudon
Date:
October 1, 2001 07:23
Subject:
Re: [PATCH] Constant Access Macros
Message ID:
20011001102311.B28131@gloudon.com
On Mon, Oct 01, 2001 at 10:22:35AM +0100, Simon Cozens wrote:
> 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. :)

What about the current macros for NUM_REG etc ?

-- 
Jason

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