diff --git a/funcext/tvclib/tslvcl.tsf b/funcext/tvclib/tslvcl.tsf index b14f628..d3cd916 100644 --- a/funcext/tvclib/tslvcl.tsf +++ b/funcext/tvclib/tslvcl.tsf @@ -4749,7 +4749,7 @@ type tworkerctl =class(tcomponent) // function setOnError(f); begin FOnError := f; - if fworker then fworker.FOnError := f; + if fworker then fworker.OnError := f; end function Setscript(s); begin diff --git a/funcext/tvclib/utslvclauxiliary.tsf b/funcext/tvclib/utslvclauxiliary.tsf index 76c8a68..9c3e41d 100644 --- a/funcext/tvclib/utslvclauxiliary.tsf +++ b/funcext/tvclib/utslvclauxiliary.tsf @@ -1732,16 +1732,18 @@ type TNode = class() // return FItems.Count; end end -type TTire = class +type TTire = class() {** @explan(˵Ã÷) tireÊ÷ **} - type TTireNode = class + type TTireNode = class() + [weakref] parent; FChar; FSub; FEnd; Ficase; _tag; + _tag2; function Create(v); begin FChar := v; @@ -1758,7 +1760,8 @@ type TTire = class begin vsub := new TTireNode(v0); vsub.Ficase := Ficase; - FSub[v0] := vsub; + FSub[v0] := vsub; + vsub.Parent := self; end ls := length(s); if ls>1 then