Re: [cc65] .EXPORT

From: thefox xofeht <thefox1aspekt.fi>
Date: 2012-12-31 18:04:02
On Mon, Dec 31, 2012 at 3:17 AM,  <silverdr@wfmh.org.pl> wrote:
> 11.38 .EXPORT
>
> Make symbols accessible from other modules. Must be followed by a comma separated list of symbols to export, with each one *optionally* followed by an address specification [...]
>
> preferences.s(52): Error: Address size specifier expected
> preferences.s(53): Error: Unexpected trailing garbage characters
> [...]
>
> Is that a bug or feature? ;-)

I think it is a feature. In this case, "address specification" means
something like this:

.export foo : abs

But you *can* get the behavior you want by doing this:

.export foo := *

Your mileage may vary on whether that is easy enough.

-thefox
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Mon Dec 31 18:04:19 2012

This archive was generated by hypermail 2.1.8 : 2012-12-31 18:04:24 CET