AST always getting generated despite errors [message #1115085] |
Mon, 23 September 2013 12:32  |
Eclipse User |
|
|
|
Hi All,
I have a XText DSL having certain validators specified.
I am using the generated AST in another code and storing it in the EMF model.
This AST is always generated even though there are certain DSL errors/validation errors, and the AST just 'skips' those specific error cases, and adds on the error free details. So the generated AST is a parsed format of the 'error-free' grammar only.
Is there some way wherein we donot generate the AST at all in case there is any grammar error, rather than the partial generation of the error-free grammar.
It would be great if any of you can provide some help.
Thanks,
Rohit
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.25234 seconds