aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/switch-b.adb
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2009-04-09 12:29:07 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2009-04-09 12:29:07 +0200
commitbeb50807addf7817dafe8c229f9e9d9a09f5b828 (patch)
treeddd9ebf15dd27144c82343f1d3eadcaffc8ecd8c /gcc/ada/switch-b.adb
parenta4100e558204bb2c334606f33cd180b773fe1bf5 (diff)
downloadgcc-beb50807addf7817dafe8c229f9e9d9a09f5b828.zip
gcc-beb50807addf7817dafe8c229f9e9d9a09f5b828.tar.gz
gcc-beb50807addf7817dafe8c229f9e9d9a09f5b828.tar.bz2
[multiple changes]
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. From-SVN: r145821
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 82caa29..0d673b7 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);