diff options
author | Robert Dewar <dewar@adacore.com> | 2006-10-31 19:03:53 +0100 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2006-10-31 19:03:53 +0100 |
commit | 529c27463ff465aa6bf336aac3602c759df05010 (patch) | |
tree | f085e00a74f2161d4b10ab5693337fc1ea304178 /gcc/ada/par-ch9.adb | |
parent | fd6342ec0e74a2d05b00d1f932a81e2330509bde (diff) | |
download | gcc-529c27463ff465aa6bf336aac3602c759df05010.zip gcc-529c27463ff465aa6bf336aac3602c759df05010.tar.gz gcc-529c27463ff465aa6bf336aac3602c759df05010.tar.bz2 |
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
Diffstat (limited to 'gcc/ada/par-ch9.adb')
-rw-r--r-- | gcc/ada/par-ch9.adb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ada/par-ch9.adb b/gcc/ada/par-ch9.adb index 0edc444..ccb52ee 100644 --- a/gcc/ada/par-ch9.adb +++ b/gcc/ada/par-ch9.adb @@ -6,7 +6,7 @@ -- -- -- B o d y -- -- -- --- Copyright (C) 1992-2005, Free Software Foundation, Inc. -- +-- Copyright (C) 1992-2006, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- @@ -1545,7 +1545,7 @@ package body Ch9 is else Error_Msg_SC - ("Select alternative (ACCEPT, ABORT, DELAY) expected"); + ("select alternative (ACCEPT, ABORT, DELAY) expected"); Alternative := Error; if Token = Tok_Semicolon then |