Changeset 13190
- Timestamp:
- Nov 10, 2009, 5:20:27 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/working-0711/ccl/level-1/l1-readloop-lds.lisp
r13146 r13190 300 300 (and fd (eof-transient-p fd)))) 301 301 302 (defvar *save-interactive-source-locations* t) 303 302 304 ;;; This is the part common to toplevel loop and inner break loops. 303 305 (defun read-loop (&key (input-stream *standard-input*) … … 318 320 (eof-count 0) 319 321 (*show-available-restarts* (and *show-restarts-on-break* *break-condition*)) 320 (*nx-source-note-map*(make-hash-table :test #'eq :shared nil)))322 (map (make-hash-table :test #'eq :shared nil))) 321 323 (declare (dynamic-extent eof-value)) 322 324 (loop … … 328 330 (setq *in-read-loop* nil 329 331 *break-level* break-level) 330 (clrhash *nx-source-note-map*)331 332 (multiple-value-bind (form env print-result) 332 333 (toplevel-read :input-stream input-stream … … 334 335 :prompt-function prompt-function 335 336 :eof-value eof-value 336 :map *nx-source-note-map*) 337 :map (when *save-interactive-source-locations* 338 (clrhash map) 339 map)) 337 340 (if (eq form eof-value) 338 341 (progn … … 346 349 (abort-break)) 347 350 (exit-interactive-process *current-process*))) 348 ( progn351 (let ((*nx-source-note-map* (and *save-interactive-source-locations* map))) 349 352 (setq eof-count 0) 350 353 (or (check-toplevel-command form)
Note:
See TracChangeset
for help on using the changeset viewer.
