Stop outputting comments pertaining to forward declared interfaces. See bug 232032 for details.

r=dbradley, sr=shaver
This commit is contained in:
caillon%returnzero.com 2004-01-24 23:01:55 +00:00
Родитель 672b937934
Коммит df88d7f6f8
1 изменённых файлов: 0 добавлений и 4 удалений

Просмотреть файл

@ -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;
}