summaryrefslogtreecommitdiff
path: root/gcc/ada/switch-b.adb
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-09 10:29:07 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-09 10:29:07 +0000
commit7efd77ab65d7f00004ea2f4f4ebf554e10037289 (patch)
treeddd9ebf15dd27144c82343f1d3eadcaffc8ecd8c /gcc/ada/switch-b.adb
parentd60c9ff7609bacfd60f686e1f3b935b0a67b793e (diff)
downloadgcc-7efd77ab65d7f00004ea2f4f4ebf554e10037289.tar.gz
2009-04-09 Bob Duff <duff@adacore.com>
* exp_ch11.adb (Expand_Exception_Handlers, Prepend_Call_To_Handler): Set Sloc of generated nodes for calls to Undefer_Aborts and Save_Occurrence to No_Location, so the debugger ignores them and therefore does not jump back and forth when single stepping. 2009-04-09 Robert Dewar <dewar@adacore.com> * switch-b.adb: Minor reformatting. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145821 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/switch-b.adb')
-rw-r--r--gcc/ada/switch-b.adb4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ada/switch-b.adb b/gcc/ada/switch-b.adb
index 82caa29f99e..0d673b7daee 100644
--- a/gcc/ada/switch-b.adb
+++ b/gcc/ada/switch-b.adb
@@ -402,10 +402,10 @@ package body Switch.B is
case Switch_Chars (Ptr) is
when 'e' =>
- Warning_Mode := Treat_As_Error;
+ Warning_Mode := Treat_As_Error;
when 's' =>
- Warning_Mode := Suppress;
+ Warning_Mode := Suppress;
when others =>
Bad_Switch (Switch_Chars);