aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/disp_vhdl.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/vhdl/disp_vhdl.adb')
-rw-r--r--src/vhdl/disp_vhdl.adb5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/vhdl/disp_vhdl.adb b/src/vhdl/disp_vhdl.adb
index ec26bb84f..01ad49552 100644
--- a/src/vhdl/disp_vhdl.adb
+++ b/src/vhdl/disp_vhdl.adb
@@ -1454,6 +1454,11 @@ package body Disp_Vhdl is
Put (' ');
Disp_Function_Name (Subprg);
+ if Get_Has_Parameter (Subprg) then
+ Put (' ');
+ Put ("parameter");
+ end if;
+
Inter := Get_Interface_Declaration_Chain (Subprg);
if Implicit then
Disp_Interface_Chain (Inter, "", Start);