aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ChangeLog4
-rw-r--r--src/interp/g-error.boot5
2 files changed, 6 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index a180c6f2..a01317f2 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
+2009-01-29 Gabriel Dos Reis <gdr@cs.tamu.edu>
+
+ * interp/g-error.boot (systemErrorHandler): Tidy.
+
2009-01-28 Gabriel Dos Reis <gdr@cs.tamu.edu>
* algebra/domain.spad.pamphlet (findConstructor$Constructor): New.
diff --git a/src/interp/g-error.boot b/src/interp/g-error.boot
index 6123c2ff..393e6b6e 100644
--- a/src/interp/g-error.boot
+++ b/src/interp/g-error.boot
@@ -1,6 +1,6 @@
-- Copyright (c) 1991-2002, The Numerical Algorithms Group Ltd.
-- All rights reserved.
--- Copyright (C) 2007-2008, Gabriel Dos Reis.
+-- Copyright (C) 2007-2009, Gabriel Dos Reis.
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without
@@ -202,8 +202,7 @@ systemErrorHandler c ==
$BreakMode = "validate" =>
systemError ERROR_-FORMAT('"~a",[c])
not $inLispVM and $BreakMode in '(nobreak query resume) =>
- $inLispVM := true
- systemError ERROR_-FORMAT('"~a",[c])
+ LET(($inLispVM true)(), systemError ERROR_-FORMAT('"~a",[c]))
$BreakMode = "letPrint2" =>
$BreakMode := nil
THROW("letPrint2",nil)