diff --git a/compiler.h b/compiler.h index 8374d1949..838416b8f 100644 --- a/compiler.h +++ b/compiler.h @@ -19,7 +19,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #ifdef HAVE_CVS_IDENT -#ident "$Id: compiler.h,v 1.26 2004/10/04 01:10:52 steve Exp $" +#ident "$Id: compiler.h,v 1.26.2.1 2006/04/01 01:37:24 steve Exp $" #endif # include @@ -84,6 +84,7 @@ extern bool verbose_flag; extern bool debug_scopes; extern bool debug_eval_tree; extern bool debug_elaborate; +extern bool debug_synth; /* Path to a directory useful for finding subcomponents. */ extern const char*basedir; @@ -136,6 +137,9 @@ extern int load_sys_func_table(const char*path); /* * $Log: compiler.h,v $ + * Revision 1.26.2.1 2006/04/01 01:37:24 steve + * Add synth debug flag + * * Revision 1.26 2004/10/04 01:10:52 steve * Clean up spurious trailing white space. * diff --git a/main.cc b/main.cc index 9f4a9ba2f..aeeedc86a 100644 --- a/main.cc +++ b/main.cc @@ -19,7 +19,7 @@ const char COPYRIGHT[] = * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #ifdef HAVE_CVS_IDENT -#ident "$Id: main.cc,v 1.86 2004/10/04 01:10:53 steve Exp $" +#ident "$Id: main.cc,v 1.86.2.1 2006/04/01 01:37:24 steve Exp $" #endif # include "config.h" @@ -112,6 +112,8 @@ bool error_implicit = false; bool debug_scopes = false; bool debug_eval_tree = false; bool debug_elaborate = false; +bool debug_synth = false; + /* * Verbose messages enabled. */ @@ -314,6 +316,9 @@ static void read_iconfig_file(const char*ipath) } else if (strcmp(cp,"elaborate") == 0) { debug_elaborate = true; cerr << "debug: Enable elaborate debug" << endl; + } else if (strcmp(cp,"synth") == 0) { + debug_synth = true; + cerr << "debug: Enable synthesis debug" << endl; } else { } @@ -744,6 +749,9 @@ int main(int argc, char*argv[]) /* * $Log: main.cc,v $ + * Revision 1.86.2.1 2006/04/01 01:37:24 steve + * Add synth debug flag + * * Revision 1.86 2004/10/04 01:10:53 steve * Clean up spurious trailing white space. *