aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/vhdl-parse.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2022-07-26 22:00:24 +0200
committerTristan Gingold <tgingold@free.fr>2022-07-26 22:00:24 +0200
commitf73e18b3af7b518d971a1182b3e73b68b458416c (patch)
tree847deafe0b18c465c56dbacf958d5128634e0688 /src/vhdl/vhdl-parse.adb
parent780165a75ed4eeb1657d9dde79576ff9883ec82b (diff)
downloadghdl-f73e18b3af7b518d971a1182b3e73b68b458416c.tar.gz
ghdl-f73e18b3af7b518d971a1182b3e73b68b458416c.tar.bz2
ghdl-f73e18b3af7b518d971a1182b3e73b68b458416c.zip
vhdl-parse: set reference_terminal flag
Diffstat (limited to 'src/vhdl/vhdl-parse.adb')
-rw-r--r--src/vhdl/vhdl-parse.adb1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vhdl/vhdl-parse.adb b/src/vhdl/vhdl-parse.adb
index 60dfd103c..4f8ac27c0 100644
--- a/src/vhdl/vhdl-parse.adb
+++ b/src/vhdl/vhdl-parse.adb
@@ -3537,6 +3537,7 @@ package body Vhdl.Parse is
Ref := Create_Iir (Iir_Kind_Terminal_Declaration);
Scan_Identifier (Ref);
Set_Reference (Def, Ref);
+ Set_Reference_Terminal_Flag (Ref, True);
if Current_Token = Tok_Reference then
Scan;
else