OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 | 5 |
6 """ Hierarchical property system for IDL AST """ | 6 """ Hierarchical property system for IDL AST """ |
7 import re | 7 import re |
8 import sys | 8 import sys |
9 | 9 |
10 from idl_log import ErrOut, InfoOut, WarnOut | 10 from idl_log import ErrOut, InfoOut, WarnOut |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 errors += MultiParentTest() | 187 errors += MultiParentTest() |
188 | 188 |
189 if errors: | 189 if errors: |
190 ErrOut.Log('IDLNode failed with %d errors.' % errors) | 190 ErrOut.Log('IDLNode failed with %d errors.' % errors) |
191 return -1 | 191 return -1 |
192 return 0 | 192 return 0 |
193 | 193 |
194 | 194 |
195 if __name__ == '__main__': | 195 if __name__ == '__main__': |
196 sys.exit(Main()) | 196 sys.exit(Main()) |
| 197 |
OLD | NEW |