Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
AltaRica Project
AltaRica Checker
Commits
8e7ccfa1
Commit
8e7ccfa1
authored
Feb 03, 2010
by
point
Browse files
disable top-level exception catching in debug mode.
parent
b8cab67f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/arc.c
View file @
8e7ccfa1
...
...
@@ -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
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment