mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-23 22:31:31 +02:00
* 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:
parent
4f3c7f7883
commit
a27b87043f
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user