]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Use the syntax of Ada 2012 if-expression in -gnatR3 output
authorEric Botcazou <ebotcazou@adacore.com>
Sun, 15 Dec 2024 15:37:57 +0000 (16:37 +0100)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Tue, 7 Jan 2025 12:33:32 +0000 (13:33 +0100)
commit90f504df6f22c1a28831875b79783e0718330528
tree5daeb217a179aad8f1d7e728c5b88e9b74b71990
parentc5ce2451324b643fefdaf2f463958b6d82010541
ada: Use the syntax of Ada 2012 if-expression in -gnatR3 output

This uses the syntax of Ada 2012 if-expression in the output produced by the
-gnatR3 switch for dynamic expressions.

gcc/ada/ChangeLog:

* repinfo.adb (List_GCC_Expression.Print_Expr) <Cond_Expr>: Do not
output the final "end".
gcc/ada/repinfo.adb