aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/parse.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/vhdl/parse.adb')
-rw-r--r--src/vhdl/parse.adb1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vhdl/parse.adb b/src/vhdl/parse.adb
index bb623ea09..4f3dcd658 100644
--- a/src/vhdl/parse.adb
+++ b/src/vhdl/parse.adb
@@ -8286,6 +8286,7 @@ package body Parse is
Res : Iir;
begin
Res := Create_Iir (Iir_Kind_Package_Header);
+ Set_Location (Res);
Parse_Generic_Clause (Res);
if Current_Token = Tok_Generic then