parent
e4128f29a4
commit
de192f0fe6
|
|
@ -1659,10 +1659,11 @@ type TTsfFileParser = class //
|
||||||
end else
|
end else
|
||||||
begin
|
begin
|
||||||
s := d["value"];
|
s := d["value"];
|
||||||
if not(s and ifstring(s)) then return rt ;
|
if not(s and ifstring(s)) then return rt ;
|
||||||
|
if length(s)=8 and lowercase(s)="function" then return rt;
|
||||||
|
if length(s)=9 and lowercase(s)="procedure" then return rt;
|
||||||
r := tsl_tokenizeex_2_(s,1);
|
r := tsl_tokenizeex_2_(s,1);
|
||||||
if not( r and ifarray(r)) then return rt;
|
if not( r and ifarray(r)) then return rt;
|
||||||
|
|
||||||
cls := array();
|
cls := array();
|
||||||
ScriptDelBlocks(r["blcks"],str2array(s,"\n"),cls);
|
ScriptDelBlocks(r["blcks"],str2array(s,"\n"),cls);
|
||||||
r["blcks"] := cls;
|
r["blcks"] := cls;
|
||||||
|
|
|
||||||
|
|
@ -98,7 +98,7 @@ type TCustomThreadworker = class()
|
||||||
if not FThreaders then return ;
|
if not FThreaders then return ;
|
||||||
for idx,i in mrows( FThreaders,1) do
|
for idx,i in mrows( FThreaders,1) do
|
||||||
begin
|
begin
|
||||||
o := FThreaders[i];
|
o := FThreaders[i];
|
||||||
if uifeachthreadworkerdata(o.handle,msg,data) then
|
if uifeachthreadworkerdata(o.handle,msg,data) then
|
||||||
begin
|
begin
|
||||||
case msg of
|
case msg of
|
||||||
|
|
|
||||||
BIN
tsl语言本地编辑器.docx
BIN
tsl语言本地编辑器.docx
Binary file not shown.
Loading…
Reference in New Issue