codetools: parsing external keyword after forward class, bug #17197

git-svn-id: trunk@29224 -
This commit is contained in:
mattias 2011-01-27 20:07:27 +00:00
parent 6ce70fb207
commit 5cec794a58

View File

@ -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;