mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 08:09:29 +02:00
* fixed SETTEXTBUF
git-svn-id: trunk@2566 -
This commit is contained in:
parent
0ac6978b00
commit
dc5c79194f
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user