mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-08 10:59:05 +02:00
codetools: var notes only for global vars
git-svn-id: trunk@43203 -
This commit is contained in:
parent
9387ec5faf
commit
31589931c9
@ -3277,11 +3277,10 @@ begin
|
||||
if CurNode.Parent.Desc in AllCodeSections then begin
|
||||
if CurPos.Flag=cafEqual then
|
||||
ReadConstExpr; // read constant
|
||||
// optional: hint modifier
|
||||
ReadHintModifiers;
|
||||
end;
|
||||
|
||||
// optional: hint modifier
|
||||
ReadHintModifiers;
|
||||
|
||||
// semicolon and postfix modifiers
|
||||
if CurPos.Flag=cafSemicolon then begin
|
||||
// read ;
|
||||
|
Loading…
Reference in New Issue
Block a user