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

From: Groepaz <>
Date: 2012-12-21 19:20:16
On Friday 21 December 2012, Ullrich von Bassewitz wrote:
> 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.

i really like the idea though, having to use .scope all the time is quite 
annoying and makes the code less easy to read. then again.... who cares =)


Life's tough, get a helmet.

To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Fri Dec 21 19:23:45 2012

This archive was generated by hypermail 2.1.8 : 2012-12-21 19:23:49 CET