widl: Support coclass forward declarations.

This commit is contained in:
Dan Hipschman 2006-07-13 18:16:29 -07:00 committed by Alexandre Julliard
parent d68ec1d325
commit 2660b8f9c1
1 changed files with 1 additions and 1 deletions

View File

@ -251,7 +251,7 @@ gbl_statements: { $$ = NULL; }
imp_statements: {} imp_statements: {}
| imp_statements interfacedec { if (!parse_only) add_interface($2); } | imp_statements interfacedec { if (!parse_only) add_interface($2); }
| imp_statements interfacedef { if (!parse_only) add_interface($2); } | imp_statements interfacedef { if (!parse_only) add_interface($2); }
| imp_statements coclass ';' {} | imp_statements coclass ';' { reg_type(NULL, $2->name, 0); if (!parse_only && do_header) write_coclass_forward($2); }
| imp_statements coclassdef { if (!parse_only) add_coclass($2); } | imp_statements coclassdef { if (!parse_only) add_coclass($2); }
| imp_statements moduledef { if (!parse_only) add_module($2); } | imp_statements moduledef { if (!parse_only) add_module($2); }
| imp_statements statement {} | imp_statements statement {}