]> granicus.if.org Git - icinga2/commitdiff
Fix debug info for indexer
authorGunnar Beutner <gunnar@beutner.name>
Fri, 19 Dec 2014 15:53:44 +0000 (16:53 +0100)
committerGunnar Beutner <gunnar@beutner.name>
Fri, 19 Dec 2014 15:53:44 +0000 (16:53 +0100)
fixes #8132

lib/config/config_parser.yy

index 2e6c6288640570546693072eeade0ba5743a7615..795bee373afd2269f82aa182f6185ce52610b66f 100644 (file)
@@ -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
        {