diff options
author | Piotr Trojanek <trojanek@adacore.com> | 2023-02-14 17:05:59 +0100 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2023-05-23 09:50:59 +0200 |
commit | 35a035c210e57ea2172078ff59b76bb75baf3b6d (patch) | |
tree | b3de4d88a534c6d4740fb967ccee2b399b1f5bbe /gcc/ada/libgnarl | |
parent | e32c1944bbad9e3dad86a3f1a010fab671953130 (diff) | |
download | gcc-35a035c210e57ea2172078ff59b76bb75baf3b6d.zip gcc-35a035c210e57ea2172078ff59b76bb75baf3b6d.tar.gz gcc-35a035c210e57ea2172078ff59b76bb75baf3b6d.tar.bz2 |
ada: Revert to old pretty-printing of internal entities for CodePeer
Add some defensive code to get pretty-printed CodePeer outputs for ACATS
back to shape. At least some of this code appears to be redundant and
perhaps unnecessary, but we can this up later.
Expression pretty-printer should not be called with
N_Defining_Identifier nodes at all, since they are not expressions.
However, for those that come not from source, CodePeer expects that the
Ident_Image routine will convert the internal names like "xL" to their
corresponding human-readable representation like "x'Accesibility_Level".
gcc/ada/
* pprint.adb (Expression_Image): Restore some of the old pretty-printing
for CodePeer.
Diffstat (limited to 'gcc/ada/libgnarl')
0 files changed, 0 insertions, 0 deletions