From 1689e226263cf1223be245c2d68a2ca008827736 Mon Sep 17 00:00:00 2001 From: Hackerpilot Date: Wed, 20 Aug 2014 17:26:46 -0700 Subject: [PATCH] Improving warning categorization --- analysis/asm_style.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/analysis/asm_style.d b/analysis/asm_style.d index 5e23553..93e17a4 100644 --- a/analysis/asm_style.d +++ b/analysis/asm_style.d @@ -28,7 +28,7 @@ class AsmStyleCheck : BaseAnalyzer { if (brExp.asmBrExp !is null) { - addErrorMessage(brExp.line, brExp.column, + addErrorMessage(brExp.line, brExp.column, "dscanner.confusing.brexp", "This is confusing because it looks like an array index. Rewrite a[1] as [a + 1] to clarify."); } brExp.accept(this);