diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-08-01 16:05:30 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-08-01 16:05:30 +0000 |
commit | 0be73ed170f9ba2ad05cd6032202017b9d208eb9 (patch) | |
tree | 45e7af071813462b1f48c5c2fad29bd211f1f0f8 /gcc/ada/sinfo.ads | |
parent | bd5dc4ecff8b81d9f2a9585286415fbf8a3835a0 (diff) | |
download | ppe42-gcc-0be73ed170f9ba2ad05cd6032202017b9d208eb9.tar.gz ppe42-gcc-0be73ed170f9ba2ad05cd6032202017b9d208eb9.zip |
2011-08-01 Yannick Moy <moy@adacore.com>
* par-ch4.adb (P_Name): issue a syntax error in SPARK mode on character
literal or operator symbol which is prefixed
* sem_attr.adb (Analyze_Access_Attribute): issue an error in formal
mode on access attributes.
* sem_ch4.adb (Analyze_Concatenation_Operand): new procedure to check
that concatenation operands are properly restricted in formal mode
(Analyze_Concatenation, Analyze_Concatenation_Rest): call new procedure
Analyze_Concatenation_Operand. Issue an error in formal mode if the
result of the concatenation has a type different from String.
(Analyze_Conditional_Expression, Analyze_Explicit_Dereference,
Analyze_Quantified_Expression, Analyze_Slice,
Analyze_Null): issue an error in formal mode on unsupported constructs
* sem_ch5.adb
(Analyze_Block_Statement): only issue error on source block statement
* sem_util.ads, sem_util.adb (Last_Source_Node_In_Sequence): new
function which returns the last node in a list of nodes for which
Comes_From_Source returns True, if any
* sem_ch6.adb (Check_Missing_Return): minor refactoring to use
Last_Source_Node_In_Sequence
* sem_ch8.adb (Analyze_Exception_Renaming, Analyze_Generic_Renaming,
Analyze_Object_Renaming, Analyze_Use_Package): issue an error in formal
mode on unsupported constructs
* sem_ch9.adb Do not return after issuing error in formal mode, as the
rest of the actions may be needed later on since the error is marked as
not serious.
* sinfo.ads: Typos in comments.
2011-08-01 Pascal Obry <obry@adacore.com>
* projects.texi: Minor editing.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@177057 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/sinfo.ads')
-rw-r--r-- | gcc/ada/sinfo.ads | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/ada/sinfo.ads b/gcc/ada/sinfo.ads index 57129f99b6e..fb8f203f7ec 100644 --- a/gcc/ada/sinfo.ads +++ b/gcc/ada/sinfo.ads @@ -6939,7 +6939,7 @@ package Sinfo is -- This node is created by the analyzer/expander to handle some -- expansion cases, notably short circuit forms where there are - -- actions associated with the right hand operand. + -- actions associated with the right-hand side operand. -- The N_Expression_With_Actions node represents an expression with -- an associated set of actions (which are executable statements and @@ -6953,8 +6953,8 @@ package Sinfo is -- executing all the actions. -- Note: if the actions contain declarations, then these declarations - -- maybe referenced with in the expression. It is thus appropriate for - -- the back end to create a scope that encompasses the construct (any + -- may be referenced within the expression. It is thus appropriate for + -- the back-end to create a scope that encompasses the construct (any -- declarations within the actions will definitely not be referenced -- once elaboration of the construct is completed). |