From 798febb6c8115321a160cc0805fb0b10a780fffb Mon Sep 17 00:00:00 2001 From: Basile Burg Date: Thu, 16 Apr 2020 10:55:08 +0200 Subject: [PATCH] fix #25 - halstead reports could use the GNU message format --- src/u_halstead.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/u_halstead.pas b/src/u_halstead.pas index 1087b3b4..5b562bba 100644 --- a/src/u_halstead.pas +++ b/src/u_halstead.pas @@ -226,7 +226,7 @@ procedure THalsteadMetrics.Measure(document: TDexedMemo); if fShowAllResults or not result then begin - fMsgs.message(format('%s(%d): metrics for "%s"', + fMsgs.message(format('%s:%d: metrics for "%s"', [document.fileName, line, val.AsString]), document, amcEdit, amkInf); fMsgs.message(format(' Vocabulary: %d', [voc]), document, amcEdit, amkInf);