aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/sem_ch3.adb
diff options
context:
space:
mode:
authorPiotr Trojanek <trojanek@adacore.com>2023-02-11 21:09:11 +0100
committerMarc Poulhiès <poulhies@adacore.com>2023-05-23 09:50:58 +0200
commit0333af4d174c86cb7b908ac702318f1de7bc6dec (patch)
treec409a95462faaab3b0806680a24d221929731d7f /gcc/ada/sem_ch3.adb
parent0b369aed43e622b0cf67879e84e4b4adf401b350 (diff)
downloadgcc-0333af4d174c86cb7b908ac702318f1de7bc6dec.zip
gcc-0333af4d174c86cb7b908ac702318f1de7bc6dec.tar.gz
gcc-0333af4d174c86cb7b908ac702318f1de7bc6dec.tar.bz2
ada: Transfer fix for pretty-printed parentheses from GNATprove to GNAT
Expressions with parentheses are notoriously problematic to pretty-print. In GNATprove we had a post-processing fix for them, but it is better to have this fix in the GNAT frontend repository and apply it for CodePeer as well. gcc/ada/ * pprint.adb (Expression_Image): Move Count_Parentheses and Fix_Parentheses routines from GNATprove and apply them before returning the slice of a source code buffer.
Diffstat (limited to 'gcc/ada/sem_ch3.adb')
0 files changed, 0 insertions, 0 deletions