diff options
Diffstat (limited to 'gcc/ada/sprint.adb')
-rw-r--r-- | gcc/ada/sprint.adb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ada/sprint.adb b/gcc/ada/sprint.adb index 774bcf7..d71c415 100644 --- a/gcc/ada/sprint.adb +++ b/gcc/ada/sprint.adb @@ -420,6 +420,8 @@ package body Sprint is Dump_Original_Only := False; Dump_Freeze_Null := True; Current_Source_File := No_Source_File; + Push_Output; + Set_Standard_Output; if Arg in List_Range then Sprint_Node_List (List_Id (Arg), New_Lines => True); @@ -432,6 +434,7 @@ package body Sprint is end if; Write_Eol; + Pop_Output; end pg; -------- @@ -444,6 +447,8 @@ package body Sprint is Dump_Original_Only := True; Dump_Freeze_Null := False; Current_Source_File := No_Source_File; + Push_Output; + Set_Standard_Output; if Arg in List_Range then Sprint_Node_List (List_Id (Arg), New_Lines => True); @@ -456,6 +461,7 @@ package body Sprint is end if; Write_Eol; + Pop_Output; end po; ---------------------- @@ -477,6 +483,8 @@ package body Sprint is Dump_Original_Only := False; Dump_Freeze_Null := False; Current_Source_File := No_Source_File; + Push_Output; + Set_Standard_Output; if Arg in List_Range then Sprint_Node_List (List_Id (Arg), New_Lines => True); @@ -489,6 +497,7 @@ package body Sprint is end if; Write_Eol; + Pop_Output; end ps; -------------------- |