yikes!

fixed. thanks!

November 17, 2008
* BaseTreeAdaptor.getType() was hosed; always gave 0.  Thanks to Sam  
Harwell.

edit //depot/code/antlr/main/CHANGES.txt#104
edit //depot/code/antlr/main/runtime/Java/src/org/antlr/runtime/tree/ 
BaseTreeAdaptor.java#13
Change 5411 submitted.

Ter

On Nov 17, 2008, at 9:27 AM, Sam Harwell wrote:

> Can you verify the intent of the following code:
>
> public int getType(Object t) {
>       ((Tree)t).getType();
>       return 0;
> }
>
> Thank you,
> Sam ☺
> _______________________________________________
> antlr-dev mailing list
> [email protected]
> http://www.antlr.org:8080/mailman/listinfo/antlr-dev

_______________________________________________
antlr-dev mailing list
[email protected]
http://www.antlr.org:8080/mailman/listinfo/antlr-dev

Reply via email to