antlr/antlr4 — pull request #496 by ziuchkovski (2014-03-19 07:47:48+00:00)
Title: Expose grammar options and use in testrig for lexer name

This is a potential fix for https://github.com/antlr/antlr4/issues/493 . It exposes the grammar options in the generated Lexer + Parser classes, and uses the exposed tokenVocab option in TestRig as a fallback class name. It "works for me" in fixing that issue.