mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-24 20:30:28 +02:00
Fix error in recent define-option-interface "simplification".
Fix source breakpoints to cope with port whose filename is #f. Ensure that position recording is enabled when source breakpoint module loaded.
This commit is contained in:
parent
0983f67f09
commit
3f619266b1
3 changed files with 17 additions and 1 deletions
|
@ -1,3 +1,12 @@
|
|||
2002-11-05 Neil Jerram <neil@ossau.uklinux.net>
|
||||
|
||||
* boot-9.scm (define-option-interface): Fix to "simplification"
|
||||
change below.
|
||||
|
||||
* debugger/breakpoints/source.scm: Enable source property
|
||||
recording when module is loaded.
|
||||
(##): Cope with ports whose `filename' is not a string.
|
||||
|
||||
2002-11-04 Neil Jerram <neil@ossau.uklinux.net>
|
||||
|
||||
* boot-9.scm (define-option-interface): Simplify code-generation
|
||||
|
|
|
@ -2033,7 +2033,8 @@
|
|||
,(make-disable interface))
|
||||
(defmacro ,(caaddr option-group) (opt val)
|
||||
`(,,(car options/enable/disable)
|
||||
(list ',opt ,val)))))))))
|
||||
(append (,,(car options/enable/disable))
|
||||
(list ',opt ,val))))))))))
|
||||
|
||||
(define-option-interface
|
||||
(eval-options-interface
|
||||
|
|
|
@ -257,9 +257,15 @@
|
|||
(set-source-property! x' 'column
|
||||
column)
|
||||
x'))))
|
||||
;; Don't allow breakpointed expression to have
|
||||
;; a filename property that isn't a string.
|
||||
(or (string? filename)
|
||||
(set-source-property! x' 'filename "<unnamed port>"))
|
||||
(break! x x')
|
||||
x'))))
|
||||
|
||||
(read-enable 'positions)
|
||||
|
||||
; (define g (make-guardian))
|
||||
; (read-hash-extend #\g
|
||||
; (lambda (c port)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue