更新底层库
This commit is contained in:
JianjunLiu 2023-02-28 09:50:49 +08:00
parent 4cefd2fc39
commit d1b6b42692
10 changed files with 24 additions and 6 deletions

BIN
TSL.exe

Binary file not shown.

Binary file not shown.

View File

@ -24,7 +24,17 @@ type TEditerForm = class(TVCform) //
end end
function editerinfo(); function editerinfo();
begin begin
return "tsl语言本地编辑器\r\n版本:1.0.0\r\n日期:2022-07-19"; s := "tsl语言本地编辑器\r\n版本:1.0.0\r\n日期:2022-07-19";
f := tslfilename()+".about";
if fileexists("",f) then
begin
size := filesize("",f);
if readFile(rwraw(),"",f,0,size,data) then
begin
return data;
end
end
return s;
end end
function Create(AOwner);override; function Create(AOwner);override;
begin begin
@ -428,7 +438,7 @@ type TEditerForm = class(TVCform) //
end end
"¹ØÓÚ": "¹ØÓÚ":
begin begin
return messageboxa(editerinfo(),"说明",0,self.Handle); return messageboxa(static editerinfo(),"关于",0,self.Handle);
end end
end end

View File

@ -0,0 +1,3 @@
"tsl语言本地编辑器about
版本:1.0.0
日期:2022-07-19"

View File

@ -943,7 +943,11 @@ type TFormatParser = class
begin begin
stype := TK_UNIT; stype := TK_UNIT;
end end
"private","public","published","interface","implementation","initialization" : stype := TK_PRIVATE; {$ifdef weakref}
"private","public","published","interface","implementation","initialization","weakref","autoref" : stype := TK_PRIVATE;
{$else}
"private","public","published","interface","implementation","initialization": stype := TK_PRIVATE;
{$endif}
"function","procedure": stype := TK_FUNCTION; "function","procedure": stype := TK_FUNCTION;
"type": stype := TK_TYPE; "type": stype := TK_TYPE;
"try": stype := TK_TRY; "try": stype := TK_TRY;

View File

@ -938,7 +938,8 @@ type TTslDebuga=class(TCustomControl)
//echo "\r\nrectype",format("0x%x",recvtype); //echo "\r\nrectype",format("0x%x",recvtype);
if 0x0401=recvtype then if 0x0401=recvtype then
begin begin
owner.echoAppendString(d["errmsg"]); //owner.echoAppendString(d["errmsg"]);
ExecuteCommand("showeval",d["errmsg"]);
return; return;
end end
if recvtype <> 0x402 then if recvtype <> 0x402 then

Binary file not shown.

Binary file not shown.

Binary file not shown.