diff --git a/lib/config/config_parser.yy b/lib/config/config_parser.yy index 2e6c62886..795bee373 100644 --- a/lib/config/config_parser.yy +++ b/lib/config/config_parser.yy @@ -740,7 +740,7 @@ rterm: T_STRING } | rterm '[' rterm ']' { - $$ = new IndexerExpression($1, $3, DebugInfoRange(@1, @3)); + $$ = new IndexerExpression($1, $3, DebugInfoRange(@1, @4)); } | T_IDENTIFIER {