aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/evaluation.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/vhdl/evaluation.adb')
-rw-r--r--src/vhdl/evaluation.adb6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vhdl/evaluation.adb b/src/vhdl/evaluation.adb
index 3b89eb14f..1713e4af5 100644
--- a/src/vhdl/evaluation.adb
+++ b/src/vhdl/evaluation.adb
@@ -1649,9 +1649,9 @@ package body Evaluation is
if Res /= Null_Iir then
return Build_Constant (Res, Expr);
else
- Warning_Msg_Sem (Warnid_Runtime_Error, +Expr,
- "value """ & Value & """ not in enumeration "
- & Disp_Node (Enum));
+ Warning_Msg_Sem
+ (Warnid_Runtime_Error, +Expr,
+ "value """ & Value & """ not in enumeration %n", +Enum);
return Build_Overflow (Expr);
end if;
end Build_Enumeration_Value;