mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-19 11:10:25 +02:00
Fix errors when stripping annotations
* module/ice-9/annotate.scm (set-annotation-stripped!): Fix prototype to correspond to what syncase needs. * module/ice-9/psyntax.scm (strip-annotation): Use `if', not `when', for portability. * module/ice-9/psyntax-pp.scm: Regenerate.
This commit is contained in:
parent
7118c8050c
commit
979933ab5b
3 changed files with 5 additions and 5 deletions
|
@ -43,8 +43,8 @@
|
|||
(struct-ref a 1))
|
||||
(define (annotation-stripped a)
|
||||
(struct-ref a 2))
|
||||
(define (set-annotation-stripped! a)
|
||||
(struct-set! a 2 #t))
|
||||
(define (set-annotation-stripped! a stripped?)
|
||||
(struct-set! a 2 stripped?))
|
||||
|
||||
(define (annotate e)
|
||||
(let ((p (if (pair? e) (source-properties e) #f))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue