This commit is contained in:
2019-07-07 21:06:33 +03:00
parent 6f32f4b47e
commit 5e518e1eed

View File

@@ -107,7 +107,12 @@ var
function IsComment(s:string):boolean;
begin
Result:=s.startswith('{')or s.startswith('(*')or s.startswith('//');
Result:=(s.startswith('{')and not s.startswith('{$')) or s.startswith('(*')or s.startswith('//');
end;
function IsDirective(s:string):boolean;
begin
Result:=s.startswith('{$');
end;
function IsName(s:string):boolean;