diff --git a/module/ice-9/read.scm b/module/ice-9/read.scm index 04e3cac93..be072f9c7 100644 --- a/module/ice-9/read.scm +++ b/module/ice-9/read.scm @@ -146,7 +146,8 @@ (define (annotate line column datum) ;; FIXME: Return a syntax object instead, so we can avoid the ;; srcprops side table. - (when (and (supports-source-properties? datum) + (when (and (record-positions?) + (supports-source-properties? datum) ;; Line or column can be invalid via set-port-column! or ;; ungetting chars beyond start of line. (<= 0 line)