* reset some variables which could be in an illegal state after an error, this is mainly important for the ide

git-svn-id: trunk@1726 -
This commit is contained in:
florian 2005-11-12 11:14:50 +00:00
parent 4f3c7f7883
commit a27b87043f

View File

@ -395,6 +395,13 @@ implementation
oldaktfilepos:=aktfilepos;
oldaktmodeswitches:=aktmodeswitches;
end;
{ reset parser, a previous fatal error could have left these variables in an unreliable state, this is
important for the IDE }
afterassignment:=false;
in_args:=false;
got_addrn:=false;
getprocvardef:=nil;
{ show info }
Message1(parser_i_compiling,filename);