mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 23:25:24 +02:00
ada: Include finally statements in debug pretty-printing
Handled sequence of statements now includes optional finally statements. gcc/ada/ChangeLog: * sprint.adb (Sprint_Node_Actual): Print finally statements, if present.
This commit is contained in:
committed by
Marc Poulhiès
parent
fde2299c3a
commit
bbd00cd05d
@@ -2190,6 +2190,13 @@ package body Sprint is
|
||||
Indent_End;
|
||||
end if;
|
||||
|
||||
if Present (Finally_Statements (Node)) then
|
||||
Write_Indent_Str ("finally");
|
||||
Indent_Begin;
|
||||
Sprint_Node_List (Finally_Statements (Node));
|
||||
Indent_End;
|
||||
end if;
|
||||
|
||||
Sprint_At_End_Proc (Node);
|
||||
|
||||
when N_Identifier =>
|
||||
|
||||
Reference in New Issue
Block a user