aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-05-11 06:37:26 +0200
committerTristan Gingold <tgingold@free.fr>2019-05-11 06:37:26 +0200
commit115d6df2324dd3d266750cde43a23400a404859e (patch)
treee0a17050529f811d0d1a64147c254e9ef56b4ed7 /src
parentb76ff335a807be97a79e272b5e9bf08a99d3d8d6 (diff)
downloadghdl-115d6df2324dd3d266750cde43a23400a404859e.tar.gz
ghdl-115d6df2324dd3d266750cde43a23400a404859e.tar.bz2
ghdl-115d6df2324dd3d266750cde43a23400a404859e.zip
vhdl: add missing location.
Diffstat (limited to 'src')
-rw-r--r--src/vhdl/vhdl-sem_specs.adb1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vhdl/vhdl-sem_specs.adb b/src/vhdl/vhdl-sem_specs.adb
index 033c8afbb..ab0a88d24 100644
--- a/src/vhdl/vhdl-sem_specs.adb
+++ b/src/vhdl/vhdl-sem_specs.adb
@@ -1581,6 +1581,7 @@ package body Vhdl.Sem_Specs is
Entity := Get_Library_Unit (Design_Unit);
Res := Create_Iir (Iir_Kind_Binding_Indication);
+ Location_Copy (Res, Parent);
Aspect := Create_Iir (Iir_Kind_Entity_Aspect_Entity);
Location_Copy (Aspect, Parent);