MG: fixed parser for statements of the form "with A as B do ;"

git-svn-id: trunk@1691 -
This commit is contained in:
lazarus 2002-05-16 19:00:56 +00:00
parent 1817ed5fc4
commit 7b67948294

View File

@ -1938,7 +1938,7 @@ begin
end else
break;
until false;
if CurPos.Flag=cafPoint then
if (CurPos.Flag=cafPoint) or UpAtomIs('AS') then
ReadNextAtom
else
break;