turn off more debugging noise and prepare for 0.6.2's forward handling

git-svn-id: svn://10.0.0.236/trunk@23298 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
shaver%netscape.com
1999-03-09 08:23:00 +00:00
parent 95a9f4d99f
commit e294264814
4 changed files with 14 additions and 6 deletions

View File

@@ -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) {

View File

@@ -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,

View File

@@ -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) {

View File

@@ -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,