mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 15:39:49 +02: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;
|
||||
if CurPos.Flag=cafSemicolon then begin
|
||||
if (CurNode.Parent.Desc=ctnConstSection)
|
||||
and (CurNode.Parent.Desc in AllCodeSections) then begin
|
||||
and (CurNode.Parent.Parent.Desc in AllCodeSections) then begin
|
||||
repeat
|
||||
ReadNextAtom;
|
||||
if UpAtomIs('PUBLIC') then begin
|
||||
|
Loading…
Reference in New Issue
Block a user