|AST always getting generated despite errors [message #1115085]
||Mon, 23 September 2013 12:32
| rohit ahuja
Registered: February 2013
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.
Powered by FUDForum
. Page generated in 0.01919 seconds