On Thu, 20 Sep 2001, Brent Dax wrote:
> Damien Neil:
> # "RETURN(0);" (written exactly like that, no variation permitted)
> # is a special case, and terminates the runops loop. The only op
> # which uses this is "end", and it doesn't actually ever execute.
> # Personally, I feel that this special case should be removed.
>
> We should probably just check if the thing returned 0 and exit runops if
> that's the case. This will also protect us against utter stupidity
> like:
>
> FOO: jump FOO
>
> which wouldn't be a bad thing to protect against.
To my understanding jump FOO would physically map to the c-code "return
code + code[1]", which means the number zero is not returned, even
thoughthe offset of FOO is zero bytes. (I'm away from the source code so I
can't verify this, but it's what I remember)
-Michael