You've already forked lazarus-ccr
fpspreadsheet: Fix TsUnaryExpressionNode not implementing the IterateNodes method (https://forum.lazarus.freepascal.org/index.php/topic,58969).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8242 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -295,6 +295,8 @@ type
|
|||||||
constructor Create(AParser: TsExpressionParser; AOperand: TsExprNode);
|
constructor Create(AParser: TsExpressionParser; AOperand: TsExprNode);
|
||||||
procedure Check; override;
|
procedure Check; override;
|
||||||
destructor Destroy; override;
|
destructor Destroy; override;
|
||||||
|
procedure IterateNodes(AProc: TsExprNodeProc; AData1, AData2: Pointer;
|
||||||
|
var MustRebuildFormulas: boolean); override;
|
||||||
property Operand: TsExprNode read FOperand;
|
property Operand: TsExprNode read FOperand;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@ -2948,6 +2950,12 @@ begin
|
|||||||
RaiseParserError(rsNoOperand, [Self.ClassName]);
|
RaiseParserError(rsNoOperand, [Self.ClassName]);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
procedure TsUnaryOperationExprNode.IterateNodes(AProc: TsExprNodeProc;
|
||||||
|
AData1, AData2: Pointer; var MustRebuildFormulas: Boolean);
|
||||||
|
begin
|
||||||
|
FOperand.IterateNodes(AProc, AData1, AData2, MustRebuildFormulas);
|
||||||
|
end;
|
||||||
|
|
||||||
|
|
||||||
{ TsBinaryOperationExprNode }
|
{ TsBinaryOperationExprNode }
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user