Reserved Word Heartburn

2004-11-24 Thread Luke Palmer
IMCC yells at me when I say:

.namespace [ Foo ]

.sub new
...
.end

While it's tolerable for local symbols, subs really have to be
named according to the interface.  Is it possible to allow:

.sub new
...
.end

?

Thanks,
Luke


Re: Reserved Word Heartburn

2004-11-24 Thread Leopold Toetsch
Luke Palmer [EMAIL PROTECTED] wrote:
 IMCC yells at me when I say:

 .namespace [ Foo ]

 .sub new
 ...
 .end

 While it's tolerable for local symbols, subs really have to be
 named according to the interface.  Is it possible to allow:

 .sub new
 ...
 .end

Should be rather simple, yes. Good idea.

 Thanks,
 Luke

leo


Re: Reserved Word Heartburn

2004-11-24 Thread Leopold Toetsch
Luke Palmer [EMAIL PROTECTED] wrote:

 ...  Is it possible to allow:

 .sub new
 ...
 .end

Done. Including:

  $I0 = new()

Please note that currently the name of the PMC sub constant is passed
to PackFile code via sprintf/sscanf. This means that spaces and such are
not allowed, yet.

BTW it would be great if someone could go through the imcc docs, a lot
has changed recently, thanks.

 Thanks,
 Luke

leo