mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-16 12:09:32 +02:00
LazReport, fix using // comments in scripts, from Aleksey Lagunov
git-svn-id: trunk@41564 -
This commit is contained in:
parent
9ac3807622
commit
488c99dd5e
@ -6383,19 +6383,6 @@ begin
|
||||
Exit;
|
||||
end;
|
||||
end;
|
||||
{ if AnsiCompareText(Self.Name, aName) = 0 then
|
||||
Result:=Self
|
||||
else
|
||||
begin
|
||||
for i := 0 to Objects.Count - 1 do
|
||||
begin
|
||||
if AnsiCompareText(TfrObject(Objects[i]).Name, aName) = 0 then
|
||||
begin
|
||||
Result :=TfrObject(Objects[i]);
|
||||
Exit;
|
||||
end;
|
||||
end;
|
||||
end;}
|
||||
end;
|
||||
|
||||
function TfrPage.FindRTObject(const aName: String): TfrObject;
|
||||
|
@ -214,7 +214,7 @@ end;
|
||||
|
||||
procedure TfrInterpretator.SkipSpace;
|
||||
begin
|
||||
while (Buf^[cur] = ' ') and (Cur < Len) do Inc(Cur);
|
||||
while (Buf^[cur] <= ' ') and (Cur < Len) do Inc(Cur);
|
||||
end;
|
||||
|
||||
function TfrInterpretator.GetToken: String;
|
||||
@ -792,7 +792,7 @@ begin
|
||||
len := 0;
|
||||
for i := 0 to MemoFrom.Count - 1 do
|
||||
begin
|
||||
s := ' ' + MemoFrom[i];
|
||||
s := ' ' + MemoFrom[i] + #13;
|
||||
while Pos(#9, s) <> 0 do
|
||||
s[Pos(#9, s)] := ' ';
|
||||
while Pos(' ', s) <> 0 do
|
||||
|
Loading…
Reference in New Issue
Block a user