[as2api-dev] Re: as2api-dev digest, Vol 1 #88 - 6 msgs

David Holroyd dave at badgers-in-foil.co.uk
Thu, 14 Jul 2005 11:46:41 +0000


On Thu, Jul 14, 2005 at 12:58:54PM +0300, Gaspy wrote:
> Hi Dave,
> 
> > I have several examples of files that have working imports.
> 
> yes, I too have other cases where import works.
> Upon investigation it seems that if there are [ ] metatags just above the 
> import statement, as2api produces the error. Such metatags are like
> [IconFile("icon_checkbox.png")]
> [Event("onChange")]

Ah, I see.  The current parser only allows these attributes to appear
immediately preceeding the type definition.

I guess they need to be allowed before the import statements too, but do
you know if they should be allowed to appear interspersed within the
import list?  I suspect that they should be allowed there.


dave

-- 
http://david.holroyd.me.uk/