|IMP error recovery [message #21537]
||Wed, 18 June 2008 03:06
Originally posted by: hasanp87.hotmail.com|
I am using IMP-LPG to generate an IDE for a language.However,I face the
following problems regarding error recovery.
1 My parser(probably diagnose parser) keeps on parsing my source code as
long as the script is an error.I do not want this to occur while my user
is still writing the complete syntax.
This is necessary for providing content assist at every possible stage
while the syntax is completed.I have used the recovery option by
lpg.However,its not possible to have a recovery token at every stage.
2 Also,is there a way to locate the previous token from my present
controller position for content assist.