Message ID | 20220106171249.GA2921385@adacore.com |
---|---|
State | New |
Headers | show |
Series | [Ada] Simplify repeated calls in printing of GNAT AST | expand |
diff --git a/gcc/ada/treepr.adb b/gcc/ada/treepr.adb --- a/gcc/ada/treepr.adb +++ b/gcc/ada/treepr.adb @@ -2305,8 +2305,8 @@ package body Treepr is begin Nod := N; while Present (Nod) loop - Visit_Descendant (Union_Id (Next_Entity (Nod))); Next_Entity (Nod); + Visit_Descendant (Union_Id (Nod)); end loop; end; end if;