chiark / gitweb /
src/class-finalize-impl.lisp: Check for duplicates with the right `:test'.
[sod] / src / module-impl.lisp
index 44aa0b8e7e0007d37eba578d1ec4af76abdcfc10..1eb253148e9827c2c7bdd2e75ba7f03bf8bcef90 100644 (file)
@@ -195,7 +195,10 @@ (defmethod print-object ((fragment c-fragment) stream)
                 (prin1 (subseq text 0 37) stream)
                 (write-string "..." stream))))
        (output-c-excursion stream location
                 (prin1 (subseq text 0 37) stream)
                 (write-string "..." stream))))
        (output-c-excursion stream location
-                           (lambda (stream) (write-string text stream))))))
+                           (lambda (stream)
+                             (awhen (file-location-column location)
+                               (dotimes (i it) (write-char #\space stream)))
+                             (write-string text stream))))))
 
 (defmethod make-load-form ((fragment c-fragment) &optional environment)
   (make-load-form-saving-slots fragment :environment environment))
 
 (defmethod make-load-form ((fragment c-fragment) &optional environment)
   (make-load-form-saving-slots fragment :environment environment))