diff options
author | Tristan Gingold <tgingold@free.fr> | 2019-09-06 02:45:11 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2019-09-06 02:45:11 +0200 |
commit | 8c8691504466dd345891b02aee111ab5076f082f (patch) | |
tree | ee4f28c3eb88e6255e36d8c52449f639fbe8801a /src | |
parent | bffc53212d0bd2426cb39f5445c9c6b080508a2f (diff) | |
download | ghdl-8c8691504466dd345891b02aee111ab5076f082f.tar.gz ghdl-8c8691504466dd345891b02aee111ab5076f082f.tar.bz2 ghdl-8c8691504466dd345891b02aee111ab5076f082f.zip |
vhdl: fix unused warning on protected variable.
Fix ghdl/ghdl-language-server#27
Diffstat (limited to 'src')
-rw-r--r-- | src/vhdl/vhdl-sem_names.adb | 1 |
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; |