[Ada] Ada2020: matching parentheses and brackets
authorBob Duff <duff@adacore.com>
Thu, 2 Jul 2020 22:16:57 +0000 (18:16 -0400)
committerPierre-Marie de Rodat <derodat@adacore.com>
Mon, 19 Oct 2020 09:53:36 +0000 (05:53 -0400)
commit8c8b92dcc8f0b45af96aecc9e83c52175d6f4ce5
treebfc76d6835d590f5de2dafa5009ec34f1a0e4421
parentb9d685922c7d960ab5b0beae348cfb37df08d115
[Ada] Ada2020: matching parentheses and brackets

gcc/ada/

* par-ch4.adb (P_Aggregate_Or_Paren_Expr): Require matching
parens or brackets.
* par.adb, par-tchk.adb (T_Right_Bracket): New procedure to give
an error on missing ].
gcc/ada/par-ch4.adb
gcc/ada/par-tchk.adb
gcc/ada/par.adb