projects
/
mit-scheme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad0cfdb
)
Make ASSERT pass along arguments to ERROR.
author
Joe Marshall
<eval.apply@gmail.com>
Mon, 21 May 2012 18:10:40 +0000
(11:10 -0700)
committer
Joe Marshall
<eval.apply@gmail.com>
Mon, 21 May 2012 18:10:40 +0000
(11:10 -0700)
src/runtime/mit-macros.scm
patch
|
blob
|
history
diff --git
a/src/runtime/mit-macros.scm
b/src/runtime/mit-macros.scm
index 5c29dd57e9b90d0495d683cc26d2c48fa5a16eb9..f8860fb5fef5f5cf9515d83e32e1de251e53c717 100644
(file)
--- a/
src/runtime/mit-macros.scm
+++ b/
src/runtime/mit-macros.scm
@@
-604,6
+604,6
@@
USA.
(define-syntax :assert
(syntax-rules ()
- ((ASSERT condition)
+ ((ASSERT condition
. extra
)
(IF (NOT condition)
- (ERROR "Assertion failed:" 'condition)))))
+ (ERROR "Assertion failed:" 'condition
. extra
)))))