I have defined a syntax using treetop and most of the values parse fine, but some look like
Response+Isupport1 offset=0, "...orted by this server" (host,space1,space2,nickname,space3):
... and ...
...
SyntaxNode+Isupport0 offset=52, "WATCH=128 " (token,space):
SyntaxNode+Token0 offset=52, "WATCH=128" (parameter,equals,value):
...
What does the SyntaxNode+[Node] mean? How can I fix it to work correctly? Because now, these nodes have the SyntaxNode class, not the Token class (which makes them generic and doesn't fit my needs).
As far as I can see, defining (token space)+
is what caused this (no idea why).