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);