mcchatman8009 / antlr4-tool

A useful Antlr4 tool with full TypeScript support
Other
36 stars 20 forks source link

Listener enter/exit wrong declared #19

Closed Patrick-Remy closed 6 years ago

Patrick-Remy commented 6 years ago

The listener definition file declares the listener methods by the pattern "ruleEnter"/"ruleExit", but the js source shows that they are defined as "enterRule"/"exitRule".

johnholliday commented 6 years ago

The problem is this line:

https://github.com/mcchatman8009/antlr4-tool/blob/ff09417f031c69f00331c6c0936cd8a4796cb2a4/src/antlr-core/antlr-compiler.ts#L47

mcchatman8009 commented 6 years ago

@johnholliday this has been resolved with your pull request.

Thanks