allow antlr3 and antlr4 work together