>But it seems to me it should be Non-grammar terminal
I've implemented LineContinuationTerminal this way and added unit tests for it. It seems to work well in GwBasicGrammar.
>The other possibility is to add it to NewLineTerminal
Although it could be a bit simpler solution, I've finally decided that a separate terminal is better.
Will, thanks you for the link!
>If I can help with any testing, please let me know. Out of the five grammars I now have written,
>only one so far would benefit from such a terminal but I can certainly help test it.
I've pushed LineContinuationTerminal to my fork. The source code is available here:
It would be great if you find the time to check out LineContinuation in your grammar.