[Ada] Better error message on missing parentheses
Pierre-Marie de Rodat
Wed Nov 10 08:58:24 GMT 2021
Adapt the test to issue a different error message when it is likely that
an if-expression is suspected, but parentheses are missing. This makes
the test more in line with its comment.
Tested on x86_64-pc-linux-gnu, committed on trunk
* par-ch4.adb (P_Primary): Adapt test for getting error message
on missing parentheses.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 718 bytes
Desc: not available
More information about the Gcc-patches