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

Unified Diff: ppapi/generators/idl_ast.py

Issue 8538029: Cleanup IDL Generator (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ppapi/generators/idl_c_header.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/generators/idl_ast.py
===================================================================
--- ppapi/generators/idl_ast.py (revision 109691)
+++ ppapi/generators/idl_ast.py (working copy)
@@ -105,16 +105,7 @@
#
class IDLAst(IDLNode):
def __init__(self, children):
- objs = []
-
- builtin = None
- extranodes = []
- for filenode in children:
- if filenode.GetProperty('NAME') == 'pp_stdint.idl':
- builtin = filenode
- break
-
- IDLNode.__init__(self, 'AST', 'BuiltIn', 1, 0, extranodes + children)
+ IDLNode.__init__(self, 'AST', 'BuiltIn', 1, 0, children)
self.Resolve()
def Resolve(self):
« no previous file with comments | « no previous file | ppapi/generators/idl_c_header.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698