2
0
Эх сурвалжийг харах

* fixed powerpc compiler compilation with -dEXTDEBUG

git-svn-id: trunk@35982 -
nickysn 8 жил өмнө
parent
commit
a018235811

+ 4 - 4
compiler/powerpc/agppcmpw.pas

@@ -1200,8 +1200,8 @@ interface
       hal : tasmlisttype;
       hal : tasmlisttype;
     begin
     begin
 {$ifdef EXTDEBUG}
 {$ifdef EXTDEBUG}
-      if assigned(current_module.mainsource) then
-       comment(v_info,'Start writing MPW-styled assembler output for '+current_module.mainsource^);
+      if current_module.mainsource<>'' then
+       comment(v_info,'Start writing MPW-styled assembler output for '+current_module.mainsource);
 {$endif}
 {$endif}
 
 
       WriteAsmFileHeader;
       WriteAsmFileHeader;
@@ -1218,8 +1218,8 @@ interface
       writer.AsmLn;
       writer.AsmLn;
 
 
 {$ifdef EXTDEBUG}
 {$ifdef EXTDEBUG}
-      if assigned(current_module.mainsource) then
-       comment(v_info,'Done writing MPW-styled assembler output for '+current_module.mainsource^);
+      if current_module.mainsource<>'' then
+       comment(v_info,'Done writing MPW-styled assembler output for '+current_module.mainsource);
 {$endif EXTDEBUG}
 {$endif EXTDEBUG}
    end;
    end;