aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/vhdl-errors.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/vhdl/vhdl-errors.adb')
-rw-r--r--src/vhdl/vhdl-errors.adb3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vhdl/vhdl-errors.adb b/src/vhdl/vhdl-errors.adb
index a03dfe1ab..69e4a0860 100644
--- a/src/vhdl/vhdl-errors.adb
+++ b/src/vhdl/vhdl-errors.adb
@@ -522,6 +522,9 @@ package body Vhdl.Errors is
| Iir_Kind_Function_Body =>
return "subprogram body";
+ when Iir_Kind_Foreign_Module =>
+ return Disp_Identifier (Node, "foreign module");
+
when Iir_Kind_Package_Declaration =>
return Disp_Identifier (Node, "package");
when Iir_Kind_Package_Body =>