From 05cc5bf63513cd77c7ea6cee679774063fa39910 Mon Sep 17 00:00:00 2001 From: Hackerpilot Date: Sun, 1 Feb 2015 00:26:41 -0800 Subject: [PATCH] Update libdparse --- libdparse | 2 +- src/analysis/comma_expression.d | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libdparse b/libdparse index 74eafc6..36e3bcd 160000 --- a/libdparse +++ b/libdparse @@ -1 +1 @@ -Subproject commit 74eafc6fea9a436dbc95f2dafa8bbe069600915f +Subproject commit 36e3bcd5d0db2fc6ba6300b168109752961330c1 diff --git a/src/analysis/comma_expression.d b/src/analysis/comma_expression.d index 71660cc..1b4590d 100644 --- a/src/analysis/comma_expression.d +++ b/src/analysis/comma_expression.d @@ -27,7 +27,7 @@ class CommaExpressionCheck : BaseAnalyzer { if (ex.items.length > 1) { - addErrorMessage(ex.items[1].line, ex.items[1].column, KEY, + addErrorMessage(ex.line, ex.column, KEY, "Avoid using the comma expression."); } ex.accept(this);