aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/vhdl/vhdl-sem_names.adb1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vhdl/vhdl-sem_names.adb b/src/vhdl/vhdl-sem_names.adb
index 63388c777..e6122ea58 100644
--- a/src/vhdl/vhdl-sem_names.adb
+++ b/src/vhdl/vhdl-sem_names.adb
@@ -569,6 +569,7 @@ package body Vhdl.Sem_Names is
return;
end if;
Set_Method_Object (Call, Obj);
+ Set_Use_Flag (Obj, True);
end if;
end Name_To_Method_Object;