src/parser/floc-proto.lisp: Use correct function for constructing conditions.
[sod] / 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