diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-01-20 15:57:15 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-01-20 15:57:15 +0000 |
commit | 3b9899ec1fd4ac6a22edfe0e94d5e6908ed7d732 (patch) | |
tree | 92260a032a275664131dc26a9af8c6e6957fdc9e /gcc/ada/par-ch4.adb | |
parent | c7dbe4bbe2b5007624ce95621dcb145535801cf9 (diff) | |
download | gcc-3b9899ec1fd4ac6a22edfe0e94d5e6908ed7d732.tar.gz |
2014-01-20 Robert Dewar <dewar@adacore.com>
* errout.ads, errout.adb: Implement >? >x? >X? sequences in error
messages.
* sem_ch6.adb (Check_Statement_Sequence): Missing return is an
error in GNATprove mode.
2014-01-20 Ed Schonberg <schonberg@adacore.com>
* par-ch4.adb (Is_Parameterless_Attribute): The Ada2012 attribute
reference 'Old takes no parameters, and thus can appear as a
prefix of a slice.
2014-01-20 Eric Botcazou <ebotcazou@adacore.com>
* exp_aggr.adb: Fix minor typos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206839 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/par-ch4.adb')
-rw-r--r-- | gcc/ada/par-ch4.adb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/ada/par-ch4.adb b/gcc/ada/par-ch4.adb index cdf0dab653a..5981f01c8e7 100644 --- a/gcc/ada/par-ch4.adb +++ b/gcc/ada/par-ch4.adb @@ -41,6 +41,7 @@ package body Ch4 is Attribute_External_Tag => True, Attribute_Img => True, Attribute_Loop_Entry => True, + Attribute_Old => True, Attribute_Stub_Type => True, Attribute_Version => True, Attribute_Type_Key => True, @@ -49,7 +50,8 @@ package body Ch4 is -- string or a type. For those attributes, a left parenthesis after -- the attribute should not be analyzed as the beginning of a parameters -- list because it may denote a slice operation (X'Img (1 .. 2)) or - -- a type conversion (X'Class (Y)). + -- a type conversion (X'Class (Y)). The Ada2012 attribute 'Old is in + -- this category. -- Note: Loop_Entry is in this list because, although it can take an -- optional argument (the loop name), we can't distinguish that at parse |