aboutsummaryrefslogtreecommitdiffstats
path: root/src/ghdldrv/ghdlprint.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2018-11-17 12:14:34 +0100
committerTristan Gingold <tgingold@free.fr>2018-11-17 12:14:34 +0100
commitbfa5245bb96ce98cc4ff275d544196368baa38ac (patch)
tree748143aa263c4f12d48ad874f7a28b8e5b099fec /src/ghdldrv/ghdlprint.adb
parent342971aa2920aa01a1b636e892ef709e6abfdd37 (diff)
downloadghdl-bfa5245bb96ce98cc4ff275d544196368baa38ac.tar.gz
ghdl-bfa5245bb96ce98cc4ff275d544196368baa38ac.tar.bz2
ghdl-bfa5245bb96ce98cc4ff275d544196368baa38ac.zip
ghdlprint: pass a location.
Diffstat (limited to 'src/ghdldrv/ghdlprint.adb')
-rw-r--r--src/ghdldrv/ghdlprint.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ghdldrv/ghdlprint.adb b/src/ghdldrv/ghdlprint.adb
index 04e7bd207..29d7f7e29 100644
--- a/src/ghdldrv/ghdlprint.adb
+++ b/src/ghdldrv/ghdlprint.adb
@@ -1281,7 +1281,7 @@ package body Ghdlprint is
| Date_Disk =>
raise Internal_Error;
when Date_Parse =>
- Sem_Lib.Load_Design_Unit (Unit, Null_Iir);
+ Sem_Lib.Load_Design_Unit (Unit, Unit);
when Date_Analyze =>
null;
end case;