How do I report a syntax error within a Token using IMergableLexicalParser?
I have my own implementation of IMergableLexicalParser doing the lexial parsing for me. However, there may be cases where a token can generally be parsed, but is still invalid. The best example is a string token, with an invalid escape sequence, such as "ABC\Z" where "\Z" is not a valid escape sequence.
How would I report such an error, so I get a squiggly red line at the corresponding position and still do proper semantic parsing, since the string is generally a valid token?