(interpreter_exec_cmd): Use condition,

e.reason < 0, to raise an error.
This commit is contained in:
Nick Roberts 2005-01-26 09:56:18 +00:00
parent 82c94ed064
commit a7479e7ea1

View File

@ -399,7 +399,7 @@ interpreter_exec_cmd (char *args, int from_tty)
for (i = 1; i < nrules; i++)
{
struct exception e = interp_exec (interp_to_use, prules[i]);
if (!e.reason)
if (e.reason < 0)
{
interp_set (old_interp);
interp_set_quiet (interp_to_use, old_quiet);