[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Ada-mode-users] last line of an expression indented to the left relativ
From: |
Ludovic Brenta |
Subject: |
[Ada-mode-users] last line of an expression indented to the left relative to the previous line |
Date: |
Mon, 21 Nov 2016 17:46:54 +0200 |
User-agent: |
Roundcube Webmail/0.5.3 |
Hello,
In the example below, the last line containing "message is discarded"
is
mysteriously indented left relative to the preceding line. The two "&"
operators should be aligned vertically. The parse succeeds. Is there
a way to explain this choice by the indentation engine?
procedure P is
begin
Error_Report.Report_Error (Severity => Error_Report.Warning,
Title => "ROBOT_ERROR",
Description =>
"DLA/CHG Message received after TACT
activation for flight "
& Flight_Identifier.Safe_Image
("toto")
& " => message is discarded !!");
end P;
The trigger for this bug is the function call; a static string instead
gives the expected result:
procedure P is
begin
Error_Report.Report_Error (Severity => Error_Report.Warning,
Title => "ROBOT_ERROR",
Description =>
"DLA/CHG Message received after TACT
activation for flight "
& "toto"
& " => message is discarded !!");
end P;
--
Ludovic Brenta.
- [Ada-mode-users] last line of an expression indented to the left relative to the previous line,
Ludovic Brenta <=