mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
*not part of the buid*
fix for 67457
This commit is contained in:
parent
ac5110f0a2
commit
c46e9db94f
@ -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);
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user