Changeset 8424
- Timestamp:
- Feb 4, 2008, 1:45:05 PM (17 years ago)
- Location:
- branches/working-0711/ccl
- Files:
-
- 2 edited
-
compiler/nx0.lisp (modified) (2 diffs)
-
level-1/l1-reader.lisp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/working-0711/ccl/compiler/nx0.lisp
r8421 r8424 1593 1593 string))))) 1594 1594 1595 (defun record-source-location (stream)1595 (defun record-source-location-on-stream-p (stream) 1596 1596 (and *compiler-record-source* 1597 1597 *fcomp-stream* … … 1607 1607 1608 1608 (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) 1610 1610 (%make-source-note :file-name (or *compile-file-original-truename* 1611 1611 (truename stream)) -
branches/working-0711/ccl/level-1/l1-reader.lisp
r8421 r8424 2460 2460 (let ((streamv (gensym))) 2461 2461 `(let* ((,streamv ,stream) 2462 (,start (and (record-source-location ,streamv)2462 (,start (and (record-source-location-on-stream-p ,streamv) 2463 2463 (file-position ,streamv)))) 2464 2464 (symbol-macrolet ((,end (file-position ,streamv))) … … 2503 2503 (values form 2504 2504 t 2505 (when (and (consp form) (record-source-location stream))2505 (when (and (consp form) (record-source-location-on-stream-p stream)) 2506 2506 (make-source-note :stream stream 2507 2507 :start (1- start) … … 2579 2579 (rplacd tail (setq tail (cons nextform nil))))))))) 2580 2580 2581 (if (record-source-location stream)2581 (if (record-source-location-on-stream-p stream) 2582 2582 (values (cdr head) (cdr source-note-list-head)) 2583 2583 (values (cdr head)))))
Note:
See TracChangeset
for help on using the changeset viewer.
