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

Unified Diff: client/dom/scripts/idlrenderer.py

Issue 9359034: A bunch of fixes in idl database generator. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Generated files. Created 8 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « client/dom/scripts/fremontcutbuilder.py ('k') | client/dom/wrapping_dom.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/dom/scripts/idlrenderer.py
diff --git a/client/dom/scripts/idlrenderer.py b/client/dom/scripts/idlrenderer.py
index 40e899e25a3f22f75466f7ad7ea6ab43d5f424e8..2237736155ad60826a597340f1bb8c2026e9fbf1 100755
--- a/client/dom/scripts/idlrenderer.py
+++ b/client/dom/scripts/idlrenderer.py
@@ -118,9 +118,9 @@ def render(idl_node, indent_str=' '):
w('attribute %s %s' % (node.type.id, node.id))
if node.raises:
w(' raises (%s)' % node.raises.id)
- elif node.get_raises:
+ elif node.is_fc_getter and node.get_raises:
w(' getraises (%s)' % node.get_raises.id)
- elif node.set_raises:
+ elif node.is_fc_setter and node.set_raises:
w(' setraises (%s)' % node.set_raises.id)
wln(';')
elif isinstance(node, IDLConstant):
@@ -143,7 +143,6 @@ def render(idl_node, indent_str=' '):
if node.raises:
w(' raises (%s)' % node.raises.id)
wln(';')
-
elif isinstance(node, IDLArgument):
w(node.ext_attrs)
w('in ')
« no previous file with comments | « client/dom/scripts/fremontcutbuilder.py ('k') | client/dom/wrapping_dom.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698