summaryrefslogtreecommitdiff
path: root/gcc/ada/put_scos.adb
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2010-06-17 07:11:13 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2010-06-17 07:11:13 +0000
commitc01f67f046babac2ffe210ff664a5e9aae8d7b64 (patch)
treec85c5d92c3cfe18e83913547baf5481b1eca8d2c /gcc/ada/put_scos.adb
parent58199b9602954dc9274c339e2cba517dfb24ded1 (diff)
downloadgcc-c01f67f046babac2ffe210ff664a5e9aae8d7b64.tar.gz
2010-06-17 Thomas Quinot <quinot@adacore.com>
* put_scos.adb: Do not generate a blank line in SCOs when omitting the CP line for a disabled pragma. 2010-06-17 Emmanuel Briot <briot@adacore.com> * prj-proc.adb, prj.adb, prj.ads (Check_Or_Set_Typed_Variable): New subprogram. (Process_Declarative_Item): An invalid value in an typed variable declaration is no longer always fatal. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@160875 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/put_scos.adb')
-rw-r--r--gcc/ada/put_scos.adb6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/ada/put_scos.adb b/gcc/ada/put_scos.adb
index 53962b2545a..db608af2445 100644
--- a/gcc/ada/put_scos.adb
+++ b/gcc/ada/put_scos.adb
@@ -134,6 +134,8 @@ begin
end if;
end loop;
+ Write_Info_Terminate;
+
-- Statement continuations should not occur since they
-- are supposed to have been handled in the loop above.
@@ -197,13 +199,13 @@ begin
Start := Start + 1;
end;
end loop;
+
+ Write_Info_Terminate;
end if;
when others =>
raise Program_Error;
end case;
-
- Write_Info_Terminate;
end Output_SCO_Line;
Start := Start + 1;