aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-cfg.cc
diff options
context:
space:
mode:
authorYannick Moy <moy@adacore.com>2023-07-19 17:57:30 +0200
committerMarc Poulhiès <poulhies@adacore.com>2023-08-01 10:06:46 +0200
commit9a36d1d13dd2d93b44b06384e2d4b20fcc850cc5 (patch)
tree6c2761baff4cd11ea86ba5b323e104465bab6d19 /gcc/tree-cfg.cc
parent2c59b33838e796694f347bf4588351d25e4c3a6a (diff)
downloadgcc-9a36d1d13dd2d93b44b06384e2d4b20fcc850cc5.zip
gcc-9a36d1d13dd2d93b44b06384e2d4b20fcc850cc5.tar.gz
gcc-9a36d1d13dd2d93b44b06384e2d4b20fcc850cc5.tar.bz2
ada: Fix printing of numbers in JSON output for data representation
When calling GNAT with -gnatRj to generate JSON output for the data representation of types and objects, it could happen that numbers are printed in the Ada syntax for hexadecimal numbers, which leads to an invalid JSON file being generated. Now fixed both for the JSON output and the Ada-like output. gcc/ada/ * repinfo.adb (Compute_Max_Length): Set parameter to print number in decimal notation. (List_Component_Layout): Same.
Diffstat (limited to 'gcc/tree-cfg.cc')
0 files changed, 0 insertions, 0 deletions