![Avatar](https://secure.gravatar.com/avatar/6f9a3a50ec94d81944e9ccbfac78e5c6.jpg?s=64&d=identicon&r=g)
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?