mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-07 20:41:37 +02:00
codetools: on variable only valid in the on block, bug #24494
git-svn-id: trunk@41842 -
This commit is contained in:
parent
421997613d
commit
7201e34ba9
@ -3233,6 +3233,9 @@ var
|
||||
will be searched:
|
||||
with ContextNode, StartContextNode do ;
|
||||
}
|
||||
end else if ContextNode.Desc=ctnOnBlock then begin
|
||||
// the ctnOnIdentifier is only valid within the ctnOnStatement
|
||||
// => skip
|
||||
end else begin
|
||||
break;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user