mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-07 12:44:00 +02:00
MG: fixed parser for statements of the form "with A as B do ;"
git-svn-id: trunk@1691 -
This commit is contained in:
parent
1817ed5fc4
commit
7b67948294
@ -1938,7 +1938,7 @@ begin
|
|||||||
end else
|
end else
|
||||||
break;
|
break;
|
||||||
until false;
|
until false;
|
||||||
if CurPos.Flag=cafPoint then
|
if (CurPos.Flag=cafPoint) or UpAtomIs('AS') then
|
||||||
ReadNextAtom
|
ReadNextAtom
|
||||||
else
|
else
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user