Procházet zdrojové kódy

* fixed powerpc compiler compilation with -dEXTDEBUG

git-svn-id: trunk@35982 -
nickysn před 8 roky
rodič
revize
a018235811
1 změnil soubory, kde provedl 4 přidání a 4 odebrání
  1. 4 4
      compiler/powerpc/agppcmpw.pas

+ 4 - 4
compiler/powerpc/agppcmpw.pas

@@ -1200,8 +1200,8 @@ interface
       hal : tasmlisttype;
     begin
 {$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}
 
       WriteAsmFileHeader;
@@ -1218,8 +1218,8 @@ interface
       writer.AsmLn;
 
 {$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}
    end;