Chromium Code Reviews| 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 |
| # |