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

* remove check for expectloc<>location.loc, it doesn't work anymore for
temprefn,blockn causing too much warnings in extdebug

git-svn-id: trunk@1542 -

peter 20 жил өмнө
parent
commit
a0b9dd48c9
1 өөрчлөгдсөн 1 нэмэгдсэн , 3 устгасан
  1. 1 3
      compiler/pass_2.pas

+ 1 - 3
compiler/pass_2.pas

@@ -179,9 +179,7 @@ implementation
             if (not codegenerror) then
              begin
                if (p.location.loc=LOC_INVALID) then
-                 Comment(V_Warning,'Location not set in secondpass: '+nodetype2str[p.nodetype])
-               else if (p.location.loc<>p.expectloc) then
-                 Comment(V_Warning,'Location is different in secondpass: '+nodetype2str[p.nodetype]);
+                 Comment(V_Warning,'Location not set in secondpass: '+nodetype2str[p.nodetype]);
              end;
 {$endif EXTDEBUG}
             if codegenerror then