Closed sjkillen closed 2 years ago
You don't miss anything, that a bug, looks like it incorrectly handles the case when only listener is generated. For now you should be able to work around it by generating visitor as well(add -visitor
to ANTLR execution parameters)
There doesn't seem to be any code generated for the exit method of listeners. E.g. it generates
when I expect
This results in the walker not being able to perform post-order traversal. Am I missing something to generate these methods?