codetools: fixed node start class sections

git-svn-id: trunk@61109 -
This commit is contained in:
mattias 2019-05-03 08:54:34 +00:00
parent 8295312cc5
commit 1d8e8b2751
2 changed files with 8 additions and 10 deletions

View File

@ -1,13 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<CONFIG>
<ProjectOptions>
<Version Value="10"/>
<Version Value="12"/>
<General>
<Flags>
<MainUnitHasCreateFormStatements Value="False"/>
<CompatibilityMode Value="True"/>
</Flags>
<SessionStorage Value="InIDEConfig"/>
<MainUnit Value="0"/>
<Title Value="SourceCloser"/>
<UseAppBundle Value="False"/>
<ResourceType Value="res"/>
@ -22,9 +22,10 @@
<Version Value="2"/>
</PublishOptions>
<RunParams>
<local>
<FormatVersion Value="1"/>
</local>
<FormatVersion Value="2"/>
<Modes Count="1">
<Mode0 Name="default"/>
</Modes>
</RunParams>
<RequiredPackages Count="2">
<Item1>
@ -34,15 +35,11 @@
<PackageName Value="LazUtils"/>
</Item2>
</RequiredPackages>
<Units Count="2">
<Units Count="1">
<Unit0>
<Filename Value="sourcecloser.lpr"/>
<IsPartOfProject Value="True"/>
</Unit0>
<Unit1>
<Filename Value="testpkg1/create_release.sh"/>
<IsPartOfProject Value="True"/>
</Unit1>
</Units>
</ProjectOptions>
<CompilerOptions>

View File

@ -1180,6 +1180,7 @@ begin
// start new section
CreateChildNode;
CurNode.Desc:=NewSection;
CurNode.StartPos:=SectionStart;
if (OldSubSection<>ctnNone)
and (Scanner.CompilerMode=cmOBJFPC)
and (Scanner.Values.IsDefined('VER2_4')) then begin