]> gcc.gnu.org Git - gcc.git/commit
ada: Allow warnings with explain code
authorYannick Moy <moy@adacore.com>
Fri, 30 Jun 2023 12:51:53 +0000 (14:51 +0200)
committerMarc Poulhiès <poulhies@adacore.com>
Tue, 18 Jul 2023 13:11:46 +0000 (15:11 +0200)
commit7e7c40617a6f210b5a4c7cf63970a92bd0b9ec6a
tree7a0cd1b43486fb7cb4b55da1040597732eef178c
parentf31a63438347c628a64257cb909a400cbd5388e3
ada: Allow warnings with explain code

Change the way explain codes are handled to generate the command for the
user to get the explanations, as this was not working for warnings.

gcc/ada/

* errout.adb (Error_Msg_Internal): Remove call to
Prescan_Message on the special continuation for the explain code
command, as this does not play well with the setting of global
variables for the message (like its status as a warning or not).
Instead, set directly the global variables regarding content of
the message in terms of special characters.
gcc/ada/errout.adb
This page took 0.06068 seconds and 6 git commands to generate.