Hi,
I got surprised by the ada-mode when indenting
block_statement_identifier and loop_statement_identifier.
Currently ada-mode follows the style of examples in RM 5.5(21) and
5.6(7), which is demonstrated on the attached file, but this is
different than the GNAT coding style.
Is the current behavior intentional? If yes, then what do you think
about a configuration option for the GNAT style indentation?
--
Piotr Trojanek
procedure Block_Identifier (V, U : In Out Integer) is
begin
Some_Identifier : declare -- ??? wrong indentation?
X : Integer;
begin
null;
end Some_Identifier;
Swap: -- ??? not sure, this is how RM 5.6(7) indents
declare
Temp : Integer;
begin
Temp := V; V := U; U := Temp;
end Swap;
End Block_Identifier;
_______________________________________________
Emacs-ada-mode mailing list
[email protected]
http://host114.hostmonster.com/mailman/listinfo/emacs-ada-mode_stephe-leake.org