diff options
author | Piotr Trojanek <trojanek@adacore.com> | 2023-01-30 12:21:24 +0100 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2023-05-22 10:44:07 +0200 |
commit | 68d93e0111d3b1956cf3fed3b2ad430d8fc001f3 (patch) | |
tree | 5c528967d7f72e8eb95e823d145d258f5e776401 /gcc/ada/debug.adb | |
parent | c9de07cd00c814c7147c24825b9bbe4fba18519a (diff) | |
download | gcc-68d93e0111d3b1956cf3fed3b2ad430d8fc001f3.zip gcc-68d93e0111d3b1956cf3fed3b2ad430d8fc001f3.tar.gz gcc-68d93e0111d3b1956cf3fed3b2ad430d8fc001f3.tar.bz2 |
ada: Restrict expression pretty-printer to subexpressions
When pretty-printing expressions with a CASE alternatives we can qualify
the call to Nkind using N_Subexpr, so that we will get compile-time
errors when new node kinds are added (e.g. Ada 2022 case expressions).
gcc/ada/
* pprint.adb (Expr_Name): Qualify CASE expression with N_Subexpr; add
missing alternative for N_Raise_Storage_Error; remove dead alternatives;
explicitly list unsupported alternatives.
Diffstat (limited to 'gcc/ada/debug.adb')
0 files changed, 0 insertions, 0 deletions