diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-07-30 15:15:00 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-07-30 15:15:00 +0000 |
commit | 2beb22b15d7d2e8f781929a08cc8b6f31ec516e6 (patch) | |
tree | 10b4ccca210f1b877b9404f282c4e6fd1996100a /gcc/ada/par-ch13.adb | |
parent | 7c3537be7ec41897478ec5b892df75ceb71c6980 (diff) | |
download | gcc-2beb22b15d7d2e8f781929a08cc8b6f31ec516e6.tar.gz |
2012-07-30 Robert Dewar <dewar@adacore.com>
* par_sco.adb, a-cihama.adb, a-coinve.adb, exp_ch7.adb, a-ciorse.adb,
exp_ch9.adb, sem_dim.adb, par-ch13.adb, sem_ch9.adb, a-cidlli.adb,
a-cimutr.adb, freeze.adb, a-ciormu.adb, sem_res.adb, sem_attr.adb,
a-cihase.adb, exp_ch4.adb, sem_ch4.adb, a-ciorma.adb,
s-tasinf-linux.ads, sem_ch13.adb, a-coinho.adb: Minor reformatting.
Add comments.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@189977 138bc75d-0d04-0410-961f-82ee72b054a4
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; |