[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Ada mode 6.2.1: comment in record representation clause not correctly in
From: |
SCHOEPFLIN Markus |
Subject: |
Ada mode 6.2.1: comment in record representation clause not correctly indented |
Date: |
Wed, 4 Dec 2019 11:57:04 +0000 |
The documentation of Ada Indent Comment Gnat (which is off in my case) states
that "[...] Otherwise, they [the comments] are indented as a with previous
comments or code."
In the following code snippet, the line marked with (4) is not correctly
aligned with the previous line of code.
---%<---
procedure TEST is
type FOO_T is record
-- (1)
N : INTEGER;
-- (2)
end record;
for FOO_T use record
-- (3)
N at 0 range 0 .. 31;
-- (4)
end record;
begin
null;
end;
--->%---
The following customization variables are set in my .emacs:
'(ada-auto-case t)
'(ada-case-identifier (quote upper-case))
'(ada-end-name-optional t)
'(ada-indent 3)
'(ada-indent-comment-col-0 t)
--
Regards,
Markus
- Ada mode 6.2.1: comment in record representation clause not correctly indented,
SCHOEPFLIN Markus <=