[as2api-dev] Re: Next as2api win32 release?

David Holroyd dave at badgers-in-foil.co.uk
Sun Oct 9 20:32:03 UTC 2005


Hi,

On Sun, Oct 09, 2005 at 09:25:01PM +0300, Mika Palmu wrote:
> I got the building working now but i get this warning when compiling:
> 
> ./parse/lexer.rb:107: warning: already initialized constant LBraceToken
> ./parse/lexer.rb:107: warning: already initialized constant RBraceToken
> 
> The actual app works just fine. How can i fix this/should this be fixed?

Ah yes, sorry I've not got around to fixing that yet.

The issue we are being warned of should will actually cause a problem
(the redefinition simply reassignes the same value to the constant
again).

This is due to both 'parse/aslexer.rb' and 'parse/doccomment_lexer.rb'
adding RBrace/LBrace token matches.  The proper fix will eventually be
to have the constants be added to the generated lexer class, rather than
always being added to the ActionScript::Parse module.


Glad to hear you got things working, anyhow.

dave

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



More information about the as2api-dev mailing list