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

Unified Diff: ppapi/generators/idl_parser.py

Issue 9617010: Move chrome.downloads out of experimental to dev (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments Created 8 years, 6 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
Index: ppapi/generators/idl_parser.py
diff --git a/ppapi/generators/idl_parser.py b/ppapi/generators/idl_parser.py
index f1045c3bd0f7d23f2f9fe95830a971bd7c8b5b34..e4cdb9c36f942988fb5b1593878e5f5d6aeb06c4 100755
--- a/ppapi/generators/idl_parser.py
+++ b/ppapi/generators/idl_parser.py
@@ -221,6 +221,12 @@ class IDLParser(IDLLexer):
p[0] = ListFromConcat(Copyright, Filedoc, p[3], p[4])
if self.parse_debug: DumpReduction('top', p)
+ def p_top_short(self, p):
+ """top : COMMENT ext_attr_block top_list"""
+ Copyright = self.BuildComment('Copyright', p, 1)
+ p[0] = ListFromConcat(Copyright, p[2], p[3])
asargent_no_longer_on_chrome 2012/06/07 00:18:08 Unfortunately there are some specific assumptions
benjhayden 2012/06/08 16:41:52 I moved the documentation back into the html file,
+ if self.parse_debug: DumpReduction('top', p)
+
# Build a list of top level items.
def p_top_list(self, p):
"""top_list : callback_decl top_list
@@ -501,6 +507,11 @@ class IDLParser(IDLLexer):
p[0] = p[1]
if self.parse_debug: DumpReduction('expression_integer', p)
+ def p_expression_float(self, p):
+ "expression : FLOAT"
+ p[0] = p[1]
+ if self.parse_debug: DumpReduction('expression_float', p)
+
#
# Array List
#

Powered by Google App Engine
This is Rietveld 408576698