Re: [cc65] suppress output after .error/.end

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2011-01-08 19:50:17
Hi!

On Thu, Jan 06, 2011 at 08:21:38AM +0200, thefox xofeht wrote:
> I'm using .error for some asserts in a header file (the header
> requires the user to define couple of symbols before including it). Is
> it possible to suppress any compiler output after .error has been
> used? Currently ca65 happily evalutes the following code and gives
> additional errors, which makes the output kinda cluttered, making it
> difficult to spot the actual error.

There are several ways ca65 could be changed to allow that. The first one is
to disable any checks when .end is used. Another one would be to introduce
something like .fatal in addition to .error, which would print a message and
terminate assembly immediately.

I don't know which one is better. Maybe the second one has less side effects.
Opinions anyone?

Regards


        Uz


--
Ullrich von Bassewitz                                  uz@musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sat Jan 8 19:50:31 2011

This archive was generated by hypermail 2.1.8 : 2011-01-08 19:50:35 CET