From 53df7c49eb6e7d7a9ab69199406766d53359e503 Mon Sep 17 00:00:00 2001 From: "idk%eng.sun.com" Date: Thu, 12 Apr 2001 19:56:55 +0000 Subject: [PATCH] *not part of the buid* fix for 67457 --- java/xpcom/java/xpidl/xpidl_java.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/java/xpcom/java/xpidl/xpidl_java.c b/java/xpcom/java/xpidl/xpidl_java.c index d02c0aec953..e66ad0b463d 100644 --- a/java/xpcom/java/xpidl/xpidl_java.c +++ b/java/xpcom/java/xpidl/xpidl_java.c @@ -755,6 +755,10 @@ attribute_declaration(TreeState *state) gboolean method_noscript = (IDL_tree_property_get(ATTR_PROPS(state->tree), "noscript") != NULL); + + gboolean method_notxpcom = + (IDL_tree_property_get(ATTR_PROPS(state->tree), "notxpcom") != NULL); + GSList *doc_comments = IDL_IDENT(IDL_LIST(IDL_ATTR_DCL (state->tree).simple_declarations).data).comments; @@ -763,6 +767,7 @@ attribute_declaration(TreeState *state) fputs(" ", FILENAME(state)); printlist(FILENAME(state), doc_comments); } + #if 0 /* @@ -777,6 +782,9 @@ attribute_declaration(TreeState *state) fputc('\n', FILENAME(state)); write_comment(state); + if (method_notxpcom || method_noscript) + return TRUE; + state->tree = ATTR_TYPE_DECL(state->tree); /*