diff options
Diffstat (limited to 'gcc/ada/par-ch13.adb')
-rw-r--r-- | gcc/ada/par-ch13.adb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/ada/par-ch13.adb b/gcc/ada/par-ch13.adb index 2a257f5d7de..030f929a7b7 100644 --- a/gcc/ada/par-ch13.adb +++ b/gcc/ada/par-ch13.adb @@ -645,7 +645,6 @@ package body Ch13 is Ptr : Source_Ptr; begin - -- Aspect Specification is present Ptr := Token_Ptr; @@ -834,11 +833,10 @@ package body Ch13 is -- Otherwise we have an illegal range attribute. Note that P_Name -- ensures that Token = Tok_Range is the only possibility left here. - else -- Token = Tok_Range + else Error_Msg_SC ("RANGE attribute illegal here!"); raise Error_Resync; end if; - end P_Code_Statement; end Ch13; |