parrt/antlr4 — pull request #87 by sharwell (2012-09-08 19:59:53+00:00)
Title: Updated Parser.consume to improve calls to listener methods

Make sure to call `visitErrorNode` instead of `visitTerminal` when you have an `ErrorNode`. Also fix listener calls for case where `_buildParseTrees` is `false` (adds terminal as children of the rule nodes but won't actually construct the parse tree).