更新动态库
This commit is contained in:
JianjunLiu 2022-06-23 14:47:32 +08:00
parent de192f0fe6
commit 7dc43feec9
3 changed files with 13 additions and 5 deletions

Binary file not shown.

View File

@ -1659,9 +1659,8 @@ 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 errtslcode(s) 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();
@ -1963,7 +1962,12 @@ type TTsfFileParser = class //
begin begin
if rdd then if rdd then
begin begin
r := tsl_tokenizeex_2_(rdd,1); if errtslcode(rdd) then
begin
r := array();
rdd := "";
end else
r := tsl_tokenizeex_2_(rdd,1);
end else end else
begin begin
r := array(); r := array();
@ -2078,6 +2082,10 @@ begin
begin begin
exportfile(ftstream(),"",f,c); exportfile(ftstream(),"",f,c);
end end
end
function errtslcode(s); //判断 function procedure结尾搞不定
begin
return 0;
return 0;
end end
end. end.

Binary file not shown.