parent
de192f0fe6
commit
7dc43feec9
BIN
TSLInterp.dll
BIN
TSLInterp.dll
Binary file not shown.
|
|
@ -1660,8 +1660,7 @@ type TTsfFileParser = class //
|
||||||
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,6 +1962,11 @@ type TTsfFileParser = class //
|
||||||
begin
|
begin
|
||||||
if rdd then
|
if rdd then
|
||||||
begin
|
begin
|
||||||
|
if errtslcode(rdd) then
|
||||||
|
begin
|
||||||
|
r := array();
|
||||||
|
rdd := "";
|
||||||
|
end else
|
||||||
r := tsl_tokenizeex_2_(rdd,1);
|
r := tsl_tokenizeex_2_(rdd,1);
|
||||||
end else
|
end else
|
||||||
begin
|
begin
|
||||||
|
|
@ -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.
|
||||||
BIN
tslkrnl.dll
BIN
tslkrnl.dll
Binary file not shown.
Loading…
Reference in New Issue