aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgingold <gingold@b72b5c32-5f01-0410-b925-b5c7b92870f7>2005-09-26 23:43:37 +0000
committergingold <gingold@b72b5c32-5f01-0410-b925-b5c7b92870f7>2005-09-26 23:43:37 +0000
commita1b2869fb6b6b49d1f0302d1f4d3edd61a8fc78b (patch)
treeee34ce7ea40edfd9eb44804540fe9f7582d57924
parent23f86083378529a031ddedde0cd3aee63989247f (diff)
downloadghdl-a1b2869fb6b6b49d1f0302d1f4d3edd61a8fc78b.tar.gz
ghdl-a1b2869fb6b6b49d1f0302d1f4d3edd61a8fc78b.tar.bz2
ghdl-a1b2869fb6b6b49d1f0302d1f4d3edd61a8fc78b.zip
typo fix
-rw-r--r--libraries.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries.adb b/libraries.adb
index 5eee733f7..c82bc788d 100644
--- a/libraries.adb
+++ b/libraries.adb
@@ -1116,7 +1116,7 @@ package body Libraries is
Unit := Next_Unit;
end loop;
if First_Unit /= Null_Iir then
- File := Get_Design_File (Unit);
+ File := Get_Design_File (First_Unit);
end if;
end Add_Design_File_Into_Library;