Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Side by Side Diff: ppapi/generators/idl_node.py

Issue 8653004: Fix python scripts in src/ppapi/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase error Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/generators/idl_namespace.py ('k') | ppapi/generators/idl_option.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/python 1 #!/usr/bin/env python
2 #
3 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2011 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 338 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 350
352 def Main(): 351 def Main():
353 errors = StringTest() 352 errors = StringTest()
354 errors += ChildTest() 353 errors += ChildTest()
355 354
356 if errors: 355 if errors:
357 ErrOut.Log('IDLNode failed with %d errors.' % errors) 356 ErrOut.Log('IDLNode failed with %d errors.' % errors)
358 return -1 357 return -1
359 return 0 358 return 0
360 359
360
361 if __name__ == '__main__': 361 if __name__ == '__main__':
362 sys.exit(Main()) 362 sys.exit(Main())
363
OLDNEW
« no previous file with comments | « ppapi/generators/idl_namespace.py ('k') | ppapi/generators/idl_option.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698