Changeset 8424


Ignore:
Timestamp:
Feb 4, 2008, 1:45:05 PM (17 years ago)
Author:
marco baringer
Message:

Rename record-source-location to record-source-location-on-stream-p.

I want to use the name record-source-location for other things.

Location:
branches/working-0711/ccl
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/working-0711/ccl/compiler/nx0.lisp

    r8421 r8424  
    15931593         string)))))
    15941594
    1595 (defun record-source-location (stream)
     1595(defun record-source-location-on-stream-p (stream)
    15961596  (and *compiler-record-source*
    15971597       *fcomp-stream*
     
    16071607
    16081608(defun make-source-note (&key stream start end text form children)
    1609   (when (record-source-location stream)
     1609  (when (record-source-location-on-stream-p stream)
    16101610    (%make-source-note :file-name (or *compile-file-original-truename*
    16111611                                      (truename stream))
  • branches/working-0711/ccl/level-1/l1-reader.lisp

    r8421 r8424  
    24602460  (let ((streamv (gensym)))
    24612461    `(let* ((,streamv ,stream)
    2462             (,start (and (record-source-location ,streamv)
     2462            (,start (and (record-source-location-on-stream-p ,streamv)
    24632463                         (file-position ,streamv))))
    24642464       (symbol-macrolet ((,end (file-position ,streamv)))
     
    25032503              (values form
    25042504                      t
    2505                       (when (and (consp form) (record-source-location stream))
     2505                      (when (and (consp form) (record-source-location-on-stream-p stream))
    25062506                        (make-source-note :stream stream
    25072507                                          :start (1- start)
     
    25792579                  (rplacd tail (setq tail (cons nextform nil)))))))))
    25802580   
    2581     (if (record-source-location stream)
     2581    (if (record-source-location-on-stream-p stream)
    25822582        (values (cdr head) (cdr source-note-list-head))
    25832583        (values (cdr head)))))
Note: See TracChangeset for help on using the changeset viewer.