1
Vote

Multiple issues

description

Hi..
 
First thanks for this incredible parser ! I love it ...
This is exactly what i wanted : An AST with visitor and a beautiful example that displays source code.
I could not dream better :)
 
However , i found some lines of code that raise exceptions and make my program useless (see attached file).
Some line throw error because the language features from framework >= 3 are not handled at the moment.
But i dont understand why issue 3 cause an exception :
the '{' is correctly eaten by parser, but not the '}' in the expression "new[] { typeof(IDBMappingFilter) }"
 
Anyway, Is there a way to ignore errors and continue parsing ? A kind of error recovery ...
For example parser could skip all tokens until ";" or '}' is met, build an "ErrorNode" and continue parsing ?
 
 
Thanks

file attachments

comments