[as2api-dev] error: No packages specified

Jim Kremens kremens at gmail.com
Sun Sep 4 15:39:16 UTC 2005


Do you have an exe for Windows?

Jim

On 9/4/05, David Holroyd <dave at badgers-in-foil.co.uk> wrote:
> On Sat, Sep 03, 2005 at 08:43:26PM -0400, Jim Kremens wrote:
> > I'm sure you're right.  As I recall, MMC allows you to do this and
> > preserves the type of each element.  mtasc allows you to do it, but
> > doesn't preserve the type of each element.    The first elements go
> > untyped and the last element in the list gets typed.
> 
> I've updated the parser to (hopefully) handle syntax like,
> 
>   var a, b;
>   var c:String, d:Number;
>   var e:String = "red", f=1;
> 
> for defining fields.  If you're using the Ruby source, you can download
> an updated parse/parser.rb from,
> 
>   http://svn.badgers-in-foil.co.uk/as2api/trunk/as2api/parse/parser.rb
> 
> 
> > I think the soluton is to not allow this kind of syntax, as mtasc
> > doesn't really allow it either.  I'll get rid of it and see if it
> > fixes the problem.
> 
> If programs vaild in both MMC and MTASC (strict?) allow the syntax, I
> think as2api should do a better job with it.  This syntax doesn't seem
> too bogus; I just didn't spot it until now.
> 
> 
> dave
> 
> --
> http://david.holroyd.me.uk/
> 
> _______________________________________________
> as2api-dev mailing list
> as2api-dev at lists.badgers-in-foil.co.uk
> http://lists.badgers-in-foil.co.uk/mailman/listinfo/as2api-dev
>



More information about the as2api-dev mailing list