It´s about parseing dates. The problem is that I
have a grammar that looks like:
Tokens
div = '/';
fourdigits = digit digit digit digit ;
twodigits = digit digit ;
Productions
date =
fourdigits div twodigits div twodigits;
A) How do I deal with the " Redefinition of
AInstanteInstante.Div" java.lang.RuntimeException. I
think the mistake is in having the same token(div)
twice in the same production. As you may guess, we
should have two getDiv methods in the generated class,
but it isn't possible in Java