[metaas-dev] No viable alternative error
David Holroyd
dave at badgers-in-foil.co.uk
Sun Feb 18 23:15:46 UTC 2007
On Sun, Feb 18, 2007 at 11:51:38PM +0100, kiroukou wrote:
> No in fact it seems that this error occurs when I have some errors in
> my code.
> I mean sometimes the AS2 ported code has some myMethod( Void ):Void
> code, which is not AS3 compliant of course.
> And the lexer make this kind of no viable alternative thing.
>
> Even if in french we are using some special characters, I think it
> is better for metass to not support them. Except if it does ot affect
> performance in any way.
If the ActionScript language spec says the characters are allowed, then
metaas should really be supporting them :)
> So the problem sounds to be something else. I come back later with
> more information before resquesting this non-ascii handling ;)
It might be quite simple to add support, depending on the part of the
grammar needing modification. One thing though; at least in the email
as I saw it at this end, some of the characters didn't look like those
that I understand appear in normal French usage. (my understanding *is*
poor, however :) For instance the small-letter-a-with-underscore
character, described in my character-map utility as "Feminine ordinal
indicator - Spanish" -- is this also appearing at your end? Was this a
character in your code somewhere, or is there a problem with the handling
of encodings too?
If you would let me know where in the source code you are using
non-ascii characters (e.g. in string literals, in variable names, ..?)
I'll look at adding support in that area first.
ta,
dave
--
http://david.holroyd.me.uk/
More information about the metaas-dev
mailing list