mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-10 03:16:10 +02:00
fpvectorial: Adds support for 999 comments in the begining of the file and fixes some typos
git-svn-id: trunk@39628 -
This commit is contained in:
parent
14935d5913
commit
1de5a255f9
@ -533,6 +533,11 @@ begin
|
||||
begin
|
||||
Exit;
|
||||
end
|
||||
// Comments can be in the beginning of the file and start with 999
|
||||
else if (IntSectionGroupCode = 999) then
|
||||
begin
|
||||
// nothing to be done, let it add the token
|
||||
end
|
||||
else
|
||||
begin
|
||||
raise Exception.Create(Format(
|
||||
@ -1991,6 +1996,7 @@ begin
|
||||
for i := 0 to Tokenizer.Tokens.Count - 1 do
|
||||
begin
|
||||
CurToken := TDXFToken(Tokenizer.Tokens.Items[i]);
|
||||
if (CurToken.Childs = nil) or (CurToken.Childs.Count=0) then Continue;
|
||||
CurTokenFirstChild := TDXFToken(CurToken.Childs.Items[0]);
|
||||
|
||||
if CurTokenFirstChild.StrValue = 'HEADER' then
|
||||
|
@ -2485,7 +2485,7 @@ end;
|
||||
|
||||
procedure TvBlock.CallbackDeleteElement(data, arg: pointer);
|
||||
begin
|
||||
TvFormulaElement(data).Free;
|
||||
TvEntity(data).Free;
|
||||
end;
|
||||
|
||||
constructor TvBlock.Create;
|
||||
|
Loading…
Reference in New Issue
Block a user