[Ada] Simplify GNAT AST printing with simple GNAT hash table
authorPiotr Trojanek <trojanek@adacore.com>
Thu, 2 Dec 2021 20:49:35 +0000 (21:49 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Thu, 6 Jan 2022 17:11:31 +0000 (17:11 +0000)
commitd6f0d0d4c18ef3209622fa47efadf999a21cd394
tree7d4ac17bdb3c957209fe8da60341854e7d15c1cd
parent07793a58d0702ade3d7300c19be65cf1bb1504d2
[Ada] Simplify GNAT AST printing with simple GNAT hash table

gcc/ada/

* treepr.ads (Treepr, Print_Tree_List, Print_Tree_Elist): Fix
style in comments.
* treepr.adb (Serial_Numbers): Hash table instance.
(Hash): Hashing routine.
(Print_Field): Fix style.
(Print_Init): Adapt to simple hash table.
(Print_Term): Likewise.
(Serial_Numbers): Likewise.
(Set_Serial_Number): Likewise.
gcc/ada/treepr.adb
gcc/ada/treepr.ads