Procházet zdrojové kódy

fixed bug in tunaryplusnode.pass_typecheck introduced in my previous commit r23737

git-svn-id: branches/i8086@23744 -
nickysn před 12 roky
rodič
revize
4ac508a2b9
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 2 1
      compiler/nmat.pas

+ 2 - 1
compiler/nmat.pas

@@ -912,7 +912,8 @@ implementation
          else if is_32bitint(left.resultdef) then
            begin
              inserttypeconv(left,s32inttype);
-             resultdef:=left.resultdef
+             result:=left;
+             left:=nil;
            end
 {$endif cpu16bitalu or cpu8bitalu}
         else if (left.resultdef.typ=orddef) then