In my custom language (using Grammar-Kit, awesome plugin :)), I have statements that can be finished either by a semicolon or by a newline.
The problem is, I can't use the newline token in my grammar as I never receive that token. I just receive
because in my
the newline is part of the returned set.
Is there a way of being able to expect a newline in some situations, other than removing the newline token from
and adding newlines everywhere in my grammar?
Thank you in advance!