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

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

Issue 9369062: Ensure 'raises' clauses on operations are saved in IDL database. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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') | no next file » | 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 a1aa38bbdd5b1133f1ec13c2265568bac3097a59..40e899e25a3f22f75466f7ad7ea6ab43d5f424e8 100755
--- a/client/dom/scripts/idlrenderer.py
+++ b/client/dom/scripts/idlrenderer.py
@@ -139,7 +139,11 @@ def render(idl_node, indent_str=' '):
w(node.id)
w('(')
w(node.arguments, ', ')
- wln(');')
+ w(')')
+ 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') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698