This commit is contained in:
artem3213212 committed 2019-07-07 21:06:33 +03:00
1 parent 6f32f4b47e
commit 5e518e1eed
1 file changed
+6 -1
+6 -1
View File
@@ -107,7 +107,12 @@ var
function IsComment(s:string):boolean; function IsComment(s:string):boolean;
begin 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; end;
function IsName(s:string):boolean; function IsName(s:string):boolean;