We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9cfd655 commit 2622b82Copy full SHA for 2622b82
lisp/l/eusdebug.l
@@ -23,11 +23,9 @@
23
*remote-port*
24
remote-error reval *server-streams* remote-port))
25
26
-(defmacro assert (pred &optional (message "") &rest args)
27
- `(while (not ,pred)
28
- (format *error-output* ,message ,@args)
29
- (finish-output *error-output*)
30
- (reploop "ass: " )))
+(defun assert (pred &optional (message "Assertation Error") &rest args)
+ (if (not pred)
+ (apply #'error message args)))
31
32
(defun warning-message (color format &rest mesg)
33
(format *error-output* "~C[3~Cm" #x1b (+ color 48))
0 commit comments