From: Robert Dewar Date: Tue, 8 Apr 2008 06:54:03 +0000 (+0200) Subject: par-ch11.adb (P_Exception_Handler): Check indentation level for handler X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=15bac09ddb9f6361b09bca50e654a8c3190b82db;p=gcc.git par-ch11.adb (P_Exception_Handler): Check indentation level for handler 2008-04-08 Robert Dewar * par-ch11.adb (P_Exception_Handler): Check indentation level for handler From-SVN: r134044 --- diff --git a/gcc/ada/par-ch11.adb b/gcc/ada/par-ch11.adb index 25fbb730b2e..412456e1a7e 100644 --- a/gcc/ada/par-ch11.adb +++ b/gcc/ada/par-ch11.adb @@ -6,7 +6,7 @@ -- -- -- B o d y -- -- -- --- Copyright (C) 1992-2007, Free Software Foundation, Inc. -- +-- Copyright (C) 1992-2008, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- @@ -94,6 +94,11 @@ package body Ch11 is begin Handler_Node := New_Node (N_Exception_Handler, Token_Ptr); Set_Local_Raise_Statements (Handler_Node, No_Elist); + + if Style_Check then + Style.Check_Indentation; + end if; + T_When; -- Test for possible choice parameter present