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

Unified Diff: tools/idl_parser/idl_parser.py

Issue 1900873006: Add missing IDL parser support for 'stringifier readonly attribute'. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove dead code Created 4 years, 8 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 | « third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface3.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/idl_parser/idl_parser.py
diff --git a/tools/idl_parser/idl_parser.py b/tools/idl_parser/idl_parser.py
index 45f8d7c58276a9d922b21ba6b4cbf2448cd907d4..ff787a46346568708f03dd954ce6a6b326dacd0c 100755
--- a/tools/idl_parser/idl_parser.py
+++ b/tools/idl_parser/idl_parser.py
@@ -554,14 +554,12 @@ class IDLParser(object):
# [36]
def p_StringifierRest(self, p):
- """StringifierRest : AttributeRest
+ """StringifierRest : ReadOnly AttributeRest
| ReturnType OperationRest
| ';'"""
if len(p) == 3:
p[2].AddChildren(p[1])
p[0] = p[2]
- elif p[1] != ';':
- p[0] = p[1]
# [37]
def p_StaticMember(self, p):
« no previous file with comments | « third_party/WebKit/Source/bindings/tests/results/core/V8TestInterface3.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698