widl patch
Ove Kaaven
ovek at arcticnet.no
Wed Feb 11 09:01:32 CST 2004
Log:
Don't add imported constructs to any typelib output by default.
Index: parser.y
===================================================================
RCS file: /cvsroot/rewind/rewind/tools/widl/parser.y,v
retrieving revision 1.9
diff -u -r1.9 parser.y
--- parser.y 8 Jan 2004 14:14:41 -0000 1.9
+++ parser.y 11 Feb 2004 14:56:34 -0000
@@ -205,10 +207,10 @@
;
imp_statements: {}
- | imp_statements interfacedec { add_interface($2); }
- | imp_statements interfacedef { add_interface($2); }
- | imp_statements coclassdef { add_coclass($2); }
- | imp_statements moduledef { add_module($2); }
+ | imp_statements interfacedec { if (!parse_only) add_interface($2); }
+ | imp_statements interfacedef { if (!parse_only) add_interface($2); }
+ | imp_statements coclassdef { if (!parse_only) add_coclass($2); }
+ | imp_statements moduledef { if (!parse_only) add_module($2); }
| imp_statements statement {}
;
More information about the wine-patches
mailing list