diff options
Diffstat (limited to 'src/grt/grt-values.adb')
-rw-r--r-- | src/grt/grt-values.adb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/grt/grt-values.adb b/src/grt/grt-values.adb index 18a917b..e871827 100644 --- a/src/grt/grt-values.adb +++ b/src/grt/grt-values.adb @@ -119,7 +119,7 @@ package body Grt.Values is end if; end loop; Error_C ("'value: '"); - Error_C_Std (S (Pos .. L)); + Error_C_Std (S (Pos .. L - 1)); Error_C ("' not in enumeration '"); Error_C (Enum_Rti.Name); Error_E ("'"); |