You've already forked lazarus-ccr
Fix Binary Format optional object read failing.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4268 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -1459,11 +1459,12 @@ var
|
||||
begin
|
||||
stk := StackTop();
|
||||
locNode := stk.Find(AScopeName);
|
||||
if not Assigned(locNode) then begin
|
||||
Error(SERR_ScopeNotFound,[AScopeName]);
|
||||
end;
|
||||
if (locNode <> nil) then begin
|
||||
PushStack(locNode,stObject);
|
||||
Result := StackTop().GetItemCount();
|
||||
end else begin
|
||||
Result := -1;
|
||||
end;
|
||||
end;
|
||||
|
||||
function TBaseBinaryFormatter.BeginArrayRead(
|
||||
|
Reference in New Issue
Block a user