codetools: var notes only for global vars

git-svn-id: trunk@43203 -
This commit is contained in:
mattias 2013-10-11 13:04:09 +00:00
parent 9387ec5faf
commit 31589931c9

View File

@ -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 ;