Fix debug info for indexer

fixes #8132
This commit is contained in:
Gunnar Beutner 2014-12-19 16:53:44 +01:00
parent f280452b6d
commit 6c53c7f192

View File

@ -740,7 +740,7 @@ rterm: T_STRING
} }
| rterm '[' rterm ']' | rterm '[' rterm ']'
{ {
$$ = new IndexerExpression($1, $3, DebugInfoRange(@1, @3)); $$ = new IndexerExpression($1, $3, DebugInfoRange(@1, @4));
} }
| T_IDENTIFIER | T_IDENTIFIER
{ {