mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-12 09:39:16 +02:00
codetools: parsing external keyword after forward class, bug #17197
git-svn-id: trunk@29224 -
This commit is contained in:
parent
6ce70fb207
commit
5cec794a58
@ -3881,6 +3881,7 @@ begin
|
||||
if CurPos.Flag=cafEND then begin
|
||||
// read extra flags
|
||||
ReadNextAtom;
|
||||
end;
|
||||
if CurPos.Flag=cafSemicolon then
|
||||
ReadNextAtom;
|
||||
if UpAtomIs('DEPRECATED') then begin
|
||||
@ -3903,7 +3904,6 @@ begin
|
||||
end;
|
||||
if CurPos.Flag<>cafSemicolon then
|
||||
UndoReadNextAtom;
|
||||
end;
|
||||
if ChildCreated then begin
|
||||
// close class
|
||||
CurNode.EndPos:=CurPos.EndPos;
|
||||
|
Loading…
Reference in New Issue
Block a user