Ivan Kochurkin

Results 260 comments of Ivan Kochurkin

> If you want to keep them, change -> skip into -> channel(HIDDEN) I don't think this is the problem. `HIDDEN` tokens are not included in parse tree anyway. The...

Ok. But anyway I think `-> channel(HIDDEN)` should be used always and `-> skip` should be deprecated at all.

Have you tried the following grammar? ```g4 grammar Hello; r : 'hello' ID; HELLO: 'hello'; ID : [a-z]+ ; WS : [ \t\r\n]+ -> skip ; ```

Using [pull requests](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests)

Feel free suggesting a merge request with your changes.

All targets have similar fields `_modeStack` and similar methods (`isEmpty`, `popMode`).

[mode_stack](https://github.com/rrevenantt/antlr4rust/blob/master/src/lexer.rs#L105), [pop_mode](https://github.com/rrevenantt/antlr4rust/blob/master/src/lexer.rs#L44)

> Please do not reply via email to an issue thread. Go to the webpage, and manually enter it on the page. I agree. Also, It can insert unwanted excess...