Re: Possible 'if' code generation bug
Samuel Tardieu <[email protected]> 14 Nov 2004 11:23:35 +0100
| Newsgroups | gmane.comp.lang.forth.picforth |
|---|---|
| Organization | RFC 1149 (see http://www.rfc1149.net/) |
| Message-ID | <[email protected]> |
>>>>> "Alex" == Alex Holden <[email protected]> writes: Alex> Picforth seems to generate incorrect code when you have an 'if' Alex> with no action following it. Is it not legal Forth to use a Alex> construct like that if you want to only perform an action when a Alex> test fails? It works when I try it in gforth and pforth but Alex> picforth doesn't seem to like it. Thanks for the bugreport. This is fixed and optimized in my development version. The fix will be included in PicForth 1.1 to be released shortly. Sam -- Samuel Tardieu -- [email protected] -- http://www.rfc1149.net/sam