revert and type cast
revert to antlr-3.1.3