antlr/antlr4 — pull request #74 by stephengaito (2012-10-10 14:36:06+00:00)
Title: Adding -listener and -vistor file dependencies to the -depend command line switch

Ter,

The recently added -depend command line switch fails to report the dependencies on:

(1) -listener pattern files (TListener.java and TBaseListener.java)
(2) -visitor pattern files (TVisitor.java and TBaseVisitor.java)

(3) as well as, for any combined grammar, the Lexer's tokens file (TLexer.tokens)

These omissions have been corrected (and tested on your simplest test grammar Foo.g) in the tool/BuildDependencyGenerator.java file.

Since this is my first patch to ANTLR4, I have also signed the contributors.txt file (as per ANTLR3 instructions).

Many thanks for a wonderful tool.

Regards,
Stephen Gaito