Re: [cc65] cc65 #if bug

Date view Thread view Subject view

From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2000-03-09 00:03:14


Hi!

> b$ cat bug.c

Ok, here is the fix: Remove the call to flushout() in function expr() in
module expr.c around line 2827.

The |= operator tries to remove the "jsr pushax" from the buffer, but the
buffer has already been flushed at that time by the recursive call to expr(),
so it removes some other instruction instead leading to wrong code.

Regards


	Uz


--
Ullrich von Bassewitz                                  uz_at_musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2001-12-14 22:05:35 CET