Re: [cc65] ca65: .local command in .macros

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2012-12-21 09:27:29
Hi!

On Fri, Dec 21, 2012 at 07:33:39AM +0200, thefox xofeht wrote:
> Mini rant: I've always felt that it would have been better if symbols
> defined in the macro were local by default, and non-local symbols
> would have to be explicitly defined. The reason being that in my
> experience the need for global symbols is much more rare. But there's
> no going back now! :)

That has historicyl reasons (as usual :-). The old ca65 (which was a DOS
assembler) had this behavior. If I remember correctly, the idea came from an
old Atari assembler (mac65?). It might be possible to change it by some sort
of .FEATURE, but I doubt that it's really worth the trouble.

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 Fri Dec 21 09:27:36 2012

This archive was generated by hypermail 2.1.8 : 2012-12-21 09:27:39 CET