зеркало из https://github.com/mozilla/pjs.git
Родитель
18ddd7bad6
Коммит
53df7c49eb
|
@ -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;
|
||||
|
@ -764,6 +768,7 @@ attribute_declaration(TreeState *state)
|
|||
printlist(FILENAME(state), doc_comments);
|
||||
}
|
||||
|
||||
|
||||
#if 0
|
||||
/*
|
||||
* Disabled here because I can't verify this check against possible
|
||||
|
@ -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);
|
||||
|
||||
/*
|
||||
|
|
Загрузка…
Ссылка в новой задаче