[Ada] Better error message on missing parentheses

Pierre-Marie de Rodat derodat@adacore.com
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...
Name: patch.diff
Type: text/x-diff
Size: 718 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20211110/d41c95cc/attachment-0001.bin>

More information about the Gcc-patches mailing list