Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import os | 5 import os |
| 6 import re | 6 import re |
| 7 import tempfile | 7 import tempfile |
| 8 | 8 |
| 9 from devil.utils import cmd_helper | 9 from devil.utils import cmd_helper |
| 10 from pylib import constants | 10 from pylib import constants |
| (...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 277 if m: | 277 if m: |
| 278 state.InitAnnotationField( | 278 state.InitAnnotationField( |
| 279 m.group(2), element_type, _GetDepth(m.group(1))) | 279 m.group(2), element_type, _GetDepth(m.group(1))) |
| 280 break | 280 break |
| 281 if m: | 281 if m: |
| 282 continue | 282 continue |
| 283 m = _PROGUARD_ANNOTATION_VALUE_RE.match(line) | 283 m = _PROGUARD_ANNOTATION_VALUE_RE.match(line) |
| 284 if m: | 284 if m: |
| 285 state.UpdateCurrentAnnotationFieldValue( | 285 state.UpdateCurrentAnnotationFieldValue( |
| 286 m.group(2), _GetDepth(m.group(1))) | 286 m.group(2), _GetDepth(m.group(1))) |
| 287 else: | |
| 288 state.InitMethod(None) | |
|
jbudorick
2016/04/08 00:59:09
What does this line that gets here contain? It's n
dgn
2016/04/08 16:54:52
So that clears the annotation stack when we hit so
agrieve
2016/04/08 17:35:36
That's what we want, but it's not what the code wa
| |
| 289 | |
| 287 | 290 |
| 288 return results | 291 return results |
| OLD | NEW |