|
@@ -199,11 +199,8 @@ unit files;
|
|
implementation
|
|
implementation
|
|
|
|
|
|
uses
|
|
uses
|
|
- dos,verbose,systems
|
|
|
|
-{$ifndef VER0_99_8}
|
|
|
|
- ,symtable,scanner
|
|
|
|
-{$endif}
|
|
|
|
- ;
|
|
|
|
|
|
+ dos,verbose,systems,
|
|
|
|
+ symtable,scanner;
|
|
|
|
|
|
{****************************************************************************
|
|
{****************************************************************************
|
|
TINPUTFILE
|
|
TINPUTFILE
|
|
@@ -840,7 +837,6 @@ unit files;
|
|
|
|
|
|
procedure tmodule.reset;
|
|
procedure tmodule.reset;
|
|
begin
|
|
begin
|
|
-{$ifndef VER0_99_8}
|
|
|
|
if assigned(scanner) then
|
|
if assigned(scanner) then
|
|
pscannerfile(scanner)^.invalid:=true;
|
|
pscannerfile(scanner)^.invalid:=true;
|
|
if assigned(globalsymtable) then
|
|
if assigned(globalsymtable) then
|
|
@@ -853,7 +849,6 @@ unit files;
|
|
dispose(punitsymtable(localsymtable),done);
|
|
dispose(punitsymtable(localsymtable),done);
|
|
localsymtable:=nil;
|
|
localsymtable:=nil;
|
|
end;
|
|
end;
|
|
-{$endif}
|
|
|
|
if assigned(map) then
|
|
if assigned(map) then
|
|
begin
|
|
begin
|
|
dispose(map);
|
|
dispose(map);
|
|
@@ -982,10 +977,8 @@ unit files;
|
|
if assigned(_exports) then
|
|
if assigned(_exports) then
|
|
dispose(_exports,done);
|
|
dispose(_exports,done);
|
|
_exports:=nil;
|
|
_exports:=nil;
|
|
-{$ifndef VER0_99_8}
|
|
|
|
if assigned(scanner) then
|
|
if assigned(scanner) then
|
|
pscannerfile(scanner)^.invalid:=true;
|
|
pscannerfile(scanner)^.invalid:=true;
|
|
-{$endif}
|
|
|
|
if assigned(sourcefiles) then
|
|
if assigned(sourcefiles) then
|
|
dispose(sourcefiles,done);
|
|
dispose(sourcefiles,done);
|
|
sourcefiles:=nil;
|
|
sourcefiles:=nil;
|
|
@@ -1004,14 +997,12 @@ unit files;
|
|
stringdispose(modulename);
|
|
stringdispose(modulename);
|
|
stringdispose(mainsource);
|
|
stringdispose(mainsource);
|
|
stringdispose(asmprefix);
|
|
stringdispose(asmprefix);
|
|
-{$ifndef VER0_99_8}
|
|
|
|
if assigned(globalsymtable) then
|
|
if assigned(globalsymtable) then
|
|
dispose(punitsymtable(globalsymtable),done);
|
|
dispose(punitsymtable(globalsymtable),done);
|
|
globalsymtable:=nil;
|
|
globalsymtable:=nil;
|
|
if assigned(localsymtable) then
|
|
if assigned(localsymtable) then
|
|
dispose(punitsymtable(localsymtable),done);
|
|
dispose(punitsymtable(localsymtable),done);
|
|
localsymtable:=nil;
|
|
localsymtable:=nil;
|
|
-{$endif}
|
|
|
|
inherited done;
|
|
inherited done;
|
|
end;
|
|
end;
|
|
|
|
|
|
@@ -1055,7 +1046,10 @@ unit files;
|
|
end.
|
|
end.
|
|
{
|
|
{
|
|
$Log$
|
|
$Log$
|
|
- Revision 1.79 1998-12-11 00:03:14 peter
|
|
|
|
|
|
+ Revision 1.80 1998-12-16 00:27:19 peter
|
|
|
|
+ * removed some obsolete version checks
|
|
|
|
+
|
|
|
|
+ Revision 1.79 1998/12/11 00:03:14 peter
|
|
+ globtype,tokens,version unit splitted from globals
|
|
+ globtype,tokens,version unit splitted from globals
|
|
|
|
|
|
Revision 1.78 1998/12/04 10:18:07 florian
|
|
Revision 1.78 1998/12/04 10:18:07 florian
|