зеркало из https://github.com/mozilla/pjs.git
Stop outputting comments pertaining to forward declared interfaces. See bug 232032 for details.
r=dbradley, sr=shaver
This commit is contained in:
Родитель
672b937934
Коммит
df88d7f6f8
|
@ -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;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче