mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-01 23:20:26 +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
|
||||
break;
|
||||
until false;
|
||||
if CurPos.Flag=cafPoint then
|
||||
if (CurPos.Flag=cafPoint) or UpAtomIs('AS') then
|
||||
ReadNextAtom
|
||||
else
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user