From ae05fab377104a17d101cc76d760e8042eb0764d Mon Sep 17 00:00:00 2001 From: "caillon%returnzero.com" Date: Sat, 24 Jan 2004 23:01:55 +0000 Subject: [PATCH] Stop outputting comments pertaining to forward declared interfaces. See bug 232032 for details. r=dbradley, sr=shaver git-svn-id: svn://10.0.0.236/trunk@151808 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpcom/typelib/xpidl/xpidl_header.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/mozilla/xpcom/typelib/xpidl/xpidl_header.c b/mozilla/xpcom/typelib/xpidl/xpidl_header.c index d3febeb5e29..da3daa48ea1 100644 --- a/mozilla/xpcom/typelib/xpidl/xpidl_header.c +++ b/mozilla/xpcom/typelib/xpidl/xpidl_header.c @@ -977,14 +977,10 @@ forward_dcl(TreeState *state) { IDL_tree iface = state->tree; const char *className = IDL_IDENT(IDL_FORWARD_DCL(iface).ident).str; - GSList *doc_comments = IDL_IDENT(IDL_INTERFACE(iface).ident).comments; if (!className) return FALSE; - if (doc_comments != NULL) - printlist(state->file, doc_comments); - fprintf(state->file, "class %s; /* forward declaration */\n\n", className); return TRUE; }