par-ch11.adb (P_Exception_Handler): Check indentation level for handler

2008-04-08  Robert Dewar  <dewar@adacore.com>

	* par-ch11.adb (P_Exception_Handler): Check indentation level for
	handler

From-SVN: r134044
This commit is contained in:
Robert Dewar 2008-04-08 08:54:03 +02:00 committed by Arnaud Charlet
parent c4dec83faf
commit 15bac09ddb
1 changed files with 6 additions and 1 deletions

View File

@ -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