mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-16 11:20:43 +01:00
codetools: fixed parsing const public
git-svn-id: trunk@34791 -
This commit is contained in:
parent
8f717d8e6f
commit
42006c76d8
@ -3652,7 +3652,7 @@ begin
|
|||||||
ReadHintModifier;
|
ReadHintModifier;
|
||||||
if CurPos.Flag=cafSemicolon then begin
|
if CurPos.Flag=cafSemicolon then begin
|
||||||
if (CurNode.Parent.Desc=ctnConstSection)
|
if (CurNode.Parent.Desc=ctnConstSection)
|
||||||
and (CurNode.Parent.Desc in AllCodeSections) then begin
|
and (CurNode.Parent.Parent.Desc in AllCodeSections) then begin
|
||||||
repeat
|
repeat
|
||||||
ReadNextAtom;
|
ReadNextAtom;
|
||||||
if UpAtomIs('PUBLIC') then begin
|
if UpAtomIs('PUBLIC') then begin
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user