| Index: tools/gn/parser.cc
|
| diff --git a/tools/gn/parser.cc b/tools/gn/parser.cc
|
| index 18e1ea12a50960013b0dc14b6b26c69783115a2f..447dfcf5b0fce5466a0aad329594530fe2a25ee9 100644
|
| --- a/tools/gn/parser.cc
|
| +++ b/tools/gn/parser.cc
|
| @@ -851,8 +851,8 @@ void Parser::AssignComments(ParseNode* file) {
|
| if ((*i)->AsFunctionCall() || (*i)->AsList() || (*i)->AsBlock())
|
| continue;
|
|
|
| - const Location& start = (*i)->GetRange().begin();
|
| - const Location& end = (*i)->GetRange().end();
|
| + Location start = (*i)->GetRange().begin();
|
| + Location end = (*i)->GetRange().end();
|
|
|
| // Don't assign suffix comments to something that starts on an earlier
|
| // line, so that in:
|
|
|