| OLD | NEW |
| 1 #!/usr/bin/python | 1 #!/usr/bin/env python |
| 2 # | |
| 3 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 4 # 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 |
| 5 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 6 | 5 |
| 7 """Nodes for PPAPI IDL AST""" | 6 """Nodes for PPAPI IDL AST""" |
| 8 | 7 |
| 9 # | 8 # |
| 10 # IDL Node | 9 # IDL Node |
| 11 # | 10 # |
| 12 # IDL Node defines the IDLAttribute and IDLNode objects which are constructed | 11 # IDL Node defines the IDLAttribute and IDLNode objects which are constructed |
| (...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 384 errors += ChildTest() | 383 errors += ChildTest() |
| 385 | 384 |
| 386 if errors: | 385 if errors: |
| 387 ErrOut.Log('IDLNode failed with %d errors.' % errors) | 386 ErrOut.Log('IDLNode failed with %d errors.' % errors) |
| 388 return -1 | 387 return -1 |
| 389 return 0 | 388 return 0 |
| 390 | 389 |
| 391 if __name__ == '__main__': | 390 if __name__ == '__main__': |
| 392 sys.exit(Main()) | 391 sys.exit(Main()) |
| 393 | 392 |
| OLD | NEW |