Re: [cc65] ca65 syntax problems

Date view Thread view Subject view

From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2001-11-04 16:01:45


On Sun, Nov 04, 2001 at 02:01:32PM +0100, groepaz wrote:
> what i tried is for eg writing a macro "SCREENZ" and then use
>      .define .screenz SCREENZ
> but that doesnt seem to work as intended ;=(

If this is your only problem, it would be easy to add a new feature like

        .feature macros_may_have_leading_dots

or similar which will make the the assembler search for a macro named
"screenz" if ".screenz" is used somewhere, but it is not a builtin control
command. The assembler does not really need the dot to distinguish between
control commands, opcodes and identifiers anyway, so the leading dot for
control commands is more a style thing. The only drawback I see would be that
new control commands could clash with macros in existing sources.
   
On the other side, using "screenz" instead of ".screenz" is not a very big
change, and existing sources can be modified by a simple search and replace,
so the question is, if this feature is really needed.

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