mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-08 07:37:02 +02:00
codetools: read var postfix modifiers without first semicolon, bug #25537
git-svn-id: trunk@43752 -
This commit is contained in:
parent
f8d3895843
commit
27f1cc4c94
@ -3368,9 +3368,10 @@ begin
|
||||
end else if CurPos.Flag=cafEND then begin
|
||||
UndoReadNextAtom;
|
||||
end else begin
|
||||
// no postfix modifier
|
||||
// the current atom is not a postfix modifier
|
||||
if not HasSemicolon then
|
||||
SaveRaiseCharExpectedButAtomFound(';');
|
||||
UndoReadNextAtom;
|
||||
end;
|
||||
CurNode.EndPos:=CurPos.EndPos;
|
||||
EndChildNode;
|
||||
|
Loading…
Reference in New Issue
Block a user