aboutsummaryrefslogtreecommitdiffstats
path: root/errorout.adb
diff options
context:
space:
mode:
Diffstat (limited to 'errorout.adb')
-rw-r--r--errorout.adb2
1 files changed, 2 insertions, 0 deletions
diff --git a/errorout.adb b/errorout.adb
index 88b78b22f..588162bc6 100644
--- a/errorout.adb
+++ b/errorout.adb
@@ -390,6 +390,8 @@ package body Errorout is
return "record element constraint";
when Iir_Kind_Null_Literal =>
return "null literal";
+ when Iir_Kind_Overflow_Literal =>
+ return Disp_Node (Get_Literal_Origin (Node));
when Iir_Kind_Aggregate =>
return "aggregate";
when Iir_Kind_Unit_Declaration =>