(debug/read-eval-print-1 (get-evaluation-environment dstate port) port))
(define-command (command/enter-where dstate port)
- port
(with-current-environment dstate port debug/where))
\f
;;;; Condition commands
(define (compile-rhs clause vars)
(let ((rhs (cdr clause)))
`(LAMBDA (,@vars PORT EMIT FIFO)
- ,@vars PORT EMIT FIFO
+ (DECLARE (IGNORABLE ,@vars PORT EMIT FIFO))
,@(map compile-action (except-last-pair rhs))
,(let ((ns (last rhs)))
(cond ((eq? ns 'DONE)
(define-syntax :let*
(er-macro-transformer
(lambda (form rename compare)
- rename compare ;ignore
+ compare ;ignore
(expand/let* form (rename 'LET)))))
(define-syntax :let*-syntax
(er-macro-transformer
(lambda (form rename compare)
- rename compare ;ignore
+ compare ;ignore
(expand/let* form (rename 'LET-SYNTAX)))))
(define (expand/let* form let-keyword)
(compile-item/expression (access-item/environment item)))))
(define (compiler:the-environment form environment)
- environment
(syntax-check '(KEYWORD) form)
(if (not (syntactic-environment/top-level? environment))
(syntax-error "This form allowed only at top level:" form))
continue-parsing)
(define (handler:comment port db ctx char)
- db ctx char
+ ctx char
(let loop ()
(let ((char (%read-char port db)))
(cond ((eof-object? char) char)
continue-parsing)
(define (handler:multi-line-comment port db ctx char1 char2)
- db ctx char1 char2
+ ctx char1 char2
(let loop ()
(case (%read-char/no-eof port db)
((#\#)
(list 'UNQUOTE (read-object port db))))
(define (handler:string port db ctx char)
- db ctx char
+ ctx char
(call-with-output-string
(lambda (port*)
(let loop ()
result))))))
(define (handler:char port db ctx char1 char2)
- db ctx char1 char2
+ ctx char1 char2
(let ((char (%read-char/no-eof port db))
(at-end?
(lambda ()
\f
(define-event-handler event-type:configure
(lambda (window event)
- window
(x-graphics-reconfigure (vector-ref event 1)
(vector-ref event 2)
(vector-ref event 3))