gforth
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gforth] [IF] .. [ELSE] .. [THEN] implementation question


From: Bernd Paysan
Subject: Re: [gforth] [IF] .. [ELSE] .. [THEN] implementation question
Date: Tue, 09 Mar 2010 15:48:47 +0100
User-agent: Thunderbird 2.0.0.14 (X11/20080421)

Anton Ertl wrote:
On Mon, Mar 08, 2010 at 05:11:10PM -0500, Josh Grams wrote:
In kernel/toolsext.fs, is there a reason why the definition of [ELSE] in
[struct]-voc (at line 40) is not immediate?  All the others are...

There appears to be, because if I make it immediate, too, Gforth
breaks.  It's unclear to me what the reason is, though.  Maybe Bernd
can shed some light on it.

As far as I can see, it is immediate, the immediate is just a line below. Maybe double-immediate is harmful, this quite likely hasn't been tested in cross.fs ;-).

--
Bernd Paysan
"If you want it done right, you have to do it yourself"
http://www.jwdt.com/~paysan/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]