зеркало из https://github.com/mozilla/gecko-dev.git
turn off more debugging noise and prepare for 0.6.2's forward handling
This commit is contained in:
Родитель
e189c7d58b
Коммит
58164daf67
|
@ -462,7 +462,11 @@ xpidl_process_idl(char *filename, IncludePathEntry *include_path,
|
|||
|
||||
rv = IDL_parse_filename_with_input(filename, input_callback, &stack,
|
||||
msg_callback, &top,
|
||||
&state.ns, IDLF_XPIDL,
|
||||
&state.ns,
|
||||
#if LIBIDL_VERSION_CODE >= LIBIDL_VERSION (0,6,2)
|
||||
IDLF_IGNORE_FORWARDS |
|
||||
#endif
|
||||
IDLF_XPIDL,
|
||||
enable_warnings ? IDL_WARNING1 :
|
||||
IDL_ERROR);
|
||||
if (rv != IDL_SUCCESS) {
|
||||
|
|
|
@ -42,7 +42,7 @@ struct priv_data {
|
|||
#define NEXT_CONST(state) (((struct priv_data *)state->priv)->next_const)
|
||||
|
||||
#ifdef DEBUG_shaver
|
||||
#define DEBUG_shaver_sort
|
||||
/* #define DEBUG_shaver_sort */
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
@ -707,7 +707,7 @@ typelib_op_dcl(TreeState *state)
|
|||
if (!fill_pd_as_nsresult(meth->result))
|
||||
return FALSE;
|
||||
} else {
|
||||
#ifdef DEBUG_shaver
|
||||
#ifdef DEBUG_shaver_notxpcom
|
||||
fprintf(stderr, "%s is notxpcom\n", IDL_IDENT(op->ident).str);
|
||||
#endif
|
||||
if (!fill_pd_from_type(state, meth->result, XPT_PD_RETVAL,
|
||||
|
|
|
@ -462,7 +462,11 @@ xpidl_process_idl(char *filename, IncludePathEntry *include_path,
|
|||
|
||||
rv = IDL_parse_filename_with_input(filename, input_callback, &stack,
|
||||
msg_callback, &top,
|
||||
&state.ns, IDLF_XPIDL,
|
||||
&state.ns,
|
||||
#if LIBIDL_VERSION_CODE >= LIBIDL_VERSION (0,6,2)
|
||||
IDLF_IGNORE_FORWARDS |
|
||||
#endif
|
||||
IDLF_XPIDL,
|
||||
enable_warnings ? IDL_WARNING1 :
|
||||
IDL_ERROR);
|
||||
if (rv != IDL_SUCCESS) {
|
||||
|
|
|
@ -42,7 +42,7 @@ struct priv_data {
|
|||
#define NEXT_CONST(state) (((struct priv_data *)state->priv)->next_const)
|
||||
|
||||
#ifdef DEBUG_shaver
|
||||
#define DEBUG_shaver_sort
|
||||
/* #define DEBUG_shaver_sort */
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
@ -707,7 +707,7 @@ typelib_op_dcl(TreeState *state)
|
|||
if (!fill_pd_as_nsresult(meth->result))
|
||||
return FALSE;
|
||||
} else {
|
||||
#ifdef DEBUG_shaver
|
||||
#ifdef DEBUG_shaver_notxpcom
|
||||
fprintf(stderr, "%s is notxpcom\n", IDL_IDENT(op->ident).str);
|
||||
#endif
|
||||
if (!fill_pd_from_type(state, meth->result, XPT_PD_RETVAL,
|
||||
|
|
Загрузка…
Ссылка в новой задаче