aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/parse.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2016-09-15 01:48:21 +0200
committerTristan Gingold <tgingold@free.fr>2016-09-15 01:48:21 +0200
commitd29da5f1dbc2aea1ff1ccab5e7d5e07cdcb825ce (patch)
tree20477a552775d07944baf511a56337b0ba71b406 /src/vhdl/parse.adb
parentd4c687a2bfc5035b8292de0eb222da5cc342777d (diff)
downloadghdl-d29da5f1dbc2aea1ff1ccab5e7d5e07cdcb825ce.tar.gz
ghdl-d29da5f1dbc2aea1ff1ccab5e7d5e07cdcb825ce.tar.bz2
ghdl-d29da5f1dbc2aea1ff1ccab5e7d5e07cdcb825ce.zip
vhdl08: add support for generic-mapped packages
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