Commit 8e7ccfa1 authored by point's avatar point
Browse files

disable top-level exception catching in debug mode.

parent b8cab67f
......@@ -92,7 +92,9 @@ main (int argc, char **argv)
{
int result = 0;
/* ccl_try(exception) */
#ifdef CCL_ENABLE_ASSERTIONS
ccl_try(exception)
#endif /* CCL_ENABLE_ASSERTIONS */
{
int has_display = (getenv("DISPLAY") != NULL);
int filename_index;
......@@ -139,7 +141,7 @@ main (int argc, char **argv)
}
s_terminate_arc ();
}
/*
#ifdef CCL_ENABLE_ASSERTIONS
ccl_catch
{
fprintf(stderr,"ARC termination on error : %s\n",
......@@ -147,7 +149,7 @@ main (int argc, char **argv)
result = 1;
}
ccl_end_try;
*/
#endif /* CCL_ENABLE_ASSERTIONS */
return result;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment