diff options
author | Tristan Gingold <tgingold@free.fr> | 2019-10-21 21:07:51 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2019-10-21 21:07:51 +0200 |
commit | a08e8ce832701dd0832330e783009b20b34f6782 (patch) | |
tree | a3edf90ede2b760f3bb41f40a5cc3a4c380119ad /src/vhdl | |
parent | 046d2373b2f9c9501e1ef4cd563a6d34667bca26 (diff) | |
download | ghdl-a08e8ce832701dd0832330e783009b20b34f6782.tar.gz ghdl-a08e8ce832701dd0832330e783009b20b34f6782.tar.bz2 ghdl-a08e8ce832701dd0832330e783009b20b34f6782.zip |
vhdl-sem_decls: add comment.
Diffstat (limited to 'src/vhdl')
-rw-r--r-- | src/vhdl/vhdl-sem_decls.adb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vhdl/vhdl-sem_decls.adb b/src/vhdl/vhdl-sem_decls.adb index 0f173d923..0f6cb17e7 100644 --- a/src/vhdl/vhdl-sem_decls.adb +++ b/src/vhdl/vhdl-sem_decls.adb @@ -2057,6 +2057,9 @@ package body Vhdl.Sem_Decls is -- If IS_GLOBAL is set, then declarations may be seen outside of unit. -- This must be set for entities and packages (except when -- Flags.Flag_Whole_Analyze is set). + -- This controls whether a type is used for a signal. + -- When Flag_Whole_Analyze is false, we are conservative and assume + -- that any global type is used for a signal (when allowed). Is_Global : Boolean; begin case Get_Kind (Parent) is |