Explorar o código

* fixed SETTEXTBUF

git-svn-id: trunk@2566 -
Jonas Maebe %!s(int64=19) %!d(string=hai) anos
pai
achega
dc5c79194f
Modificáronse 1 ficheiros con 1 adicións e 3 borrados
  1. 1 3
      compiler/ninl.pas

+ 1 - 3
compiler/ninl.pas

@@ -1232,7 +1232,6 @@ implementation
          vr        : bestreal;
          hightree,
          hp        : tnode;
-         srsym     : tsym;
          checkrange : boolean;
       label
          myexit;
@@ -1698,10 +1697,9 @@ implementation
                 begin
                   resulttype:=voidtype;
                   { now we know the type of buffer }
-                  srsym:=search_system_type('SETTEXTBUF');
                   hp:=ccallparanode.create(cordconstnode.create(
                      tcallparanode(left).left.resulttype.def.size,s32inttype,true),left);
-                  result:=ccallnode.create(hp,tprocsym(srsym),systemunit,nil,[]);
+                  result:=ccallnode.createintern('SETTEXTBUF',hp);
                   left:=nil;
                 end;