OPT cleanup.

Former-commit-id: d3b0c0352a
This commit is contained in:
Norayr Chilingarian 2015-03-11 18:53:26 +04:00
parent cb9cf67876
commit 412a03787c

View file

@ -1001,17 +1001,15 @@ WHILE ref < impCtxt.nofr DO
OutObj(topScope^.right); OutObj(topScope^.right);
ext := sfpresent & symExtended; new := ~sfpresent OR symNew; ext := sfpresent & symExtended; new := ~sfpresent OR symNew;
IF OPM.forceNewSym THEN IF OPM.forceNewSym THEN
new := TRUE; new := TRUE
OPM.LogWStr("forceNewSym = TRUE"); OPM.LogWLn; END; (* for bootstrapping -- noch *)
END; (* for bootstrapping -- noch *)
IF OPM.noerr & sfpresent & (impCtxt.reffp # expCtxt.reffp) THEN IF OPM.noerr & sfpresent & (impCtxt.reffp # expCtxt.reffp) THEN
new := TRUE; new := TRUE;
IF ~extsf THEN err(155) END IF ~extsf THEN err(155) END
END ; END ;
newsf := FALSE; symNew := FALSE; (* because of call to FPrintErr from OPL *) newsf := FALSE; symNew := FALSE; (* because of call to FPrintErr from OPL *)
IF ~OPM.noerr OR findpc THEN IF ~OPM.noerr OR findpc THEN
OPM.DeleteNewSym; OPM.DeleteNewSym
OPM.LogWStr("DeleteNewSym called"); OPM.LogWLn;
END END
(* OPM.RegisterNewSym is called in OP2 after writing the object file *) (* OPM.RegisterNewSym is called in OP2 after writing the object file *)
END END