Hi,
Quite impressed with you CppCC!

I know it must be simple but I have not yet figured it out (or it is getting late at night...).

Once a parse exception has occuredt, which is caught by the 'onParseError' method, how to advance to the next line to enable recovery? I am feeding individual lines from the wrap() method to keep track of which line(s) have problems.

Tried to 'switchToStream' but the parser still has tokens in its queue. Can't keep on 'consume'ing as there may be invalid tokens after the one that cause the exception.

Somehow I feel that a token queue somewhere needs to be flushed - can't find it - help....