* defs.h, main.c (catch_errors): Add return_mask arg.

stack.c (print_frame_info): Pass RETURN_MASK_ERROR.
	other callers: Pass RETURN_MASK_ALL.
	(return_to_top_level), callers: Add return_reason arg.
	* utils.c (quit):
	Use return_to_top_level (RETURN_QUIT) instead of error ().
	* main.c (main), tm-nindy960.h (ADDITIONAL_OPTION_HANDLER):
	Use SET_TOP_LEVEL not setjmp (to_top_level).
	* remote-nindy.c: Use catch_errors not setjmp (to_top_level).
This commit is contained in:
Jim Kingdon
1993-06-13 18:16:42 +00:00
parent b025842760
commit 9748446f53
11 changed files with 128 additions and 50 deletions

View File

@@ -1022,7 +1022,7 @@ type_error (va_alist)
fprintf (stderr, "\n");
va_end (args);
if (type_check==type_check_on)
return_to_top_level();
return_to_top_level (RETURN_ERROR);
}
void
@@ -1043,7 +1043,7 @@ range_error (va_alist)
fprintf (stderr, "\n");
va_end (args);
if (range_check==range_check_on)
return_to_top_level();
return_to_top_level (RETURN_ERROR);
}