gnupic: Trouble with macros conditionally generating code
Subject:
Re: Trouble with macros conditionally generating code
From:
Marco Pantaleoni ####@####.####
Date:
20 Nov 2004 09:08:51 +0000
Message-Id: <20041120090821.GA4896@lucifero>
On Fri, Nov 19, 2004 at 10:15:44PM +0000, Craig Franklin wrote:
> Marco Pantaleoni wrote:
>
> >On Fri, Nov 19, 2004 at 09:15:21AM -0800, Pete Elmore wrote:
> >
> >
> >>Perhaps a 'label "bad_label" redefined' error that gives the user line
> >>numbers for both definitions would be more appropriate?
> >>
> >>
> >
> >It would be very nice also to be able to get the listing of the
> >assembly after the first pass alone, to be able to better
> >understand what's going on.
> >
> >
> >
> That is a pretty big change. Not sure it would be easy to understand.
> All the forward references would be wrong.
Maybe it could be possible to mark the yet-to-be-defined references with
an "*undefined*" flag and emit it in the listing?
(P.S. I'm not pushing for it, just a suggestion in case it was a quick
and dirty hack. If it's complex, I can live without :-)
Cheers,
Marco
--
========================================================================
Marco Pantaleoni ####@####.####
Padova, Italy
elastiC language developer http://www.elasticworld.org