src/parser/floc-proto.lisp: Use correct function for constructing conditions.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 20 Feb 2021 22:47:33 +0000 (22:47 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 20 Feb 2021 23:32:27 +0000 (23:32 +0000)
src/parser/floc-proto.lisp

index 0ee952d..9eb31d4 100644 (file)
 ;;;--------------------------------------------------------------------------
 ;;; Stamping errors with location information.
 
-(let ((control-condition (make-instance 'condition)))
+(let ((control-condition (make-condition 'condition)))
   (defun with-default-error-location* (floc thunk)
     "Invoke THUNK in a dynamic environment which attaches FLOC to errors (and
      other conditions) which do not have file location information attached