[antlr-interest] Bug in antlr4

Chris Moller moller at mollerware.com
Fri Sep 21 06:16:40 PDT 2012


I just found what I'm fairly sure is a previously unfound bug in v4. Is 
there a list for that?  Or just go straight to github bugs?

FWIW, the bug is from the ExtractInterfaceTool example in the pragprog 
manual.  Per the manual, the result is supposed to be:

    interface IDemo {
    void f(int x, String y);
    int[ ] g(/*no args*/);
    List<Map<String, Integer>>[] h();
    }


and the actual is:

    interface IDemo {
    void f(intx,Stringy);
    int[] g();
    List<Map<String,Integer>>[] h();
    }


The spaces are missing between the types and the parms of method f().  
Also, more trivially, the comment from the arg list of g() is missing.


More information about the antlr-interest mailing list