diff options
author | Tristan Gingold <tgingold@free.fr> | 2020-09-24 07:46:32 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2020-09-24 18:24:02 +0200 |
commit | 6ea238c5598b6db98a8fc161a1493b4b3446ce90 (patch) | |
tree | 4194bb585840acb65c274b8e09def488a6efdc61 /src/vhdl/vhdl-errors.adb | |
parent | f55c4099343832270ee6d3c0f4aa374a72ec9111 (diff) | |
download | ghdl-6ea238c5598b6db98a8fc161a1493b4b3446ce90.tar.gz ghdl-6ea238c5598b6db98a8fc161a1493b4b3446ce90.tar.bz2 ghdl-6ea238c5598b6db98a8fc161a1493b4b3446ce90.zip |
vhdl: parse subprogram instantiations. For #1470
Diffstat (limited to 'src/vhdl/vhdl-errors.adb')
-rw-r--r-- | src/vhdl/vhdl-errors.adb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vhdl/vhdl-errors.adb b/src/vhdl/vhdl-errors.adb index 52ab0815d..7f4fde1e7 100644 --- a/src/vhdl/vhdl-errors.adb +++ b/src/vhdl/vhdl-errors.adb @@ -512,6 +512,10 @@ package body Vhdl.Errors is return Disp_Identifier (Node, "procedure"); when Iir_Kind_Function_Declaration => return Disp_Identifier (Node, "function"); + when Iir_Kind_Function_Instantiation_Declaration => + return Disp_Identifier (Node, "function instantiation"); + when Iir_Kind_Procedure_Instantiation_Declaration => + return Disp_Identifier (Node, "procedure instantiation"); when Iir_Kind_Interface_Procedure_Declaration => return Disp_Identifier (Node, "interface procedure"); when Iir_Kind_Interface_Function_Declaration => |