[Ada] Improve error recovery
authorArnaud Charlet <charlet@adacore.com>
Fri, 13 Nov 2020 14:56:14 +0000 (09:56 -0500)
committerPierre-Marie de Rodat <derodat@adacore.com>
Mon, 30 Nov 2020 14:16:19 +0000 (09:16 -0500)
commit7b76fe3dcf8067d6f24240841c1cd33fcd5e829b
treee12c249527313d4858f20d3d295eb123a3907e7d
parent5a85f3129cc19637c5a2fb4848fe78324c4c1a0c
[Ada] Improve error recovery

gcc/ada/

* par-ch6.adb (P_Formal_Part): Remove extra call to Scan.
* par-tchk.adb: Minor reformatting.
gcc/ada/par-ch6.adb
gcc/ada/par-tchk.adb