[cc65] Bug in 2.2.1

Date view Thread view Subject view

From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 1999-08-26 23:26:51


Ingo Korb found a bug in the current compiler:

A macro expansion that takes more than one line and has a tab in one of the
following lines will cause the compiler to emit an error "Unexpected source
character". In some situations the compiler will also dump core.

Example:

	#define P(x)	x

	void f (void)
	{
	    P (int
	 	i);	/* Note the leading tab character! */
	}
			       
A possible workaround is to remove the tab characters, or to place the macro
arguments into one line.

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:44 CET