par-ch3.adb (P_Range_Or_Subtype_Mark): Check for bad parentheses
authorRobert Dewar <dewar@adacore.com>
Tue, 31 Oct 2006 18:03:53 +0000 (19:03 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 31 Oct 2006 18:03:53 +0000 (19:03 +0100)
commit529c27463ff465aa6bf336aac3602c759df05010
treef085e00a74f2161d4b10ab5693337fc1ea304178
parentfd6342ec0e74a2d05b00d1f932a81e2330509bde
par-ch3.adb (P_Range_Or_Subtype_Mark): Check for bad parentheses

2006-10-31  Robert Dewar  <dewar@adacore.com>
    Javier Miranda  <miranda@adacore.com>

* par-ch3.adb (P_Range_Or_Subtype_Mark): Check for bad parentheses
(P_Type_Declaration): Remove barrier against the reserved word "limited"
after "abstract" to give support to the new syntax of AARM 3.4 (2/2).
(P_Type_Declaration): Minor code cleanup. Add support for synchronized
private extensions.
(P_Type_Declaration): Add the new actual Abstract_Present to every call
to P_Interface_Type_Definition.
(P_Interface_Type_Definition): Addition of one formal to report an error
if the reserved word abstract has been previously found.
(P_Identifier_Declarations): Update grammar rules. Handle parsing of an
object renaming declaration with an access definition or subtype mark
with a possible null exclusion.

* par-ch9.adb: Minor error msg fix

* par-load.adb: Add missing continuation mark to error msg

* par-tchk.adb: (Wrong_Token): Code cleanup, use concatenation

From-SVN: r118290
gcc/ada/par-ch3.adb
gcc/ada/par-ch9.adb
gcc/ada/par-load.adb
gcc/ada/par-tchk.adb