GNU bug report logs - #10992
error signaled for syntax expression

Previous Next

Package: guile;

Reported by: Stefan Israelsson Tampe <stefan.itampe <at> gmail.com>

Date: Sun, 11 Mar 2012 13:55:02 UTC

Severity: normal

Done: Mark H Weaver <mhw <at> netris.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 10992 in the body.
You can then email your comments to 10992 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guile <at> gnu.org:
bug#10992; Package guile. (Sun, 11 Mar 2012 13:55:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefan Israelsson Tampe <stefan.itampe <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guile <at> gnu.org. (Sun, 11 Mar 2012 13:55:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Stefan Israelsson Tampe <stefan.itampe <at> gmail.com>
To: bug-guile <at> gnu.org
Subject: error signaled for syntax expression
Date: Sun, 11 Mar 2012 14:23:57 +0100
[Message part 1 (text/plain, inline)]
Hi,

I wanted to enter meta data where the symbols are important into a syntax
object and tried to be smart
in doing that but stumbled on this because loading (a simplified example)
the attached file I get an annoying error e.g.

ERROR: bad src
$7 = #(a (a b) (a (b c) #f))
[Message part 2 (text/html, inline)]
[stx-bug.scm (text/x-scheme, attachment)]

Reply sent to Mark H Weaver <mhw <at> netris.org>:
You have taken responsibility. (Sun, 11 Mar 2012 17:58:01 GMT) Full text and rfc822 format available.

Notification sent to Stefan Israelsson Tampe <stefan.itampe <at> gmail.com>:
bug acknowledged by developer. (Sun, 11 Mar 2012 17:58:02 GMT) Full text and rfc822 format available.

Message #10 received at 10992-done <at> debbugs.gnu.org (full text, mbox):

From: Mark H Weaver <mhw <at> netris.org>
To: Stefan Israelsson Tampe <stefan.itampe <at> gmail.com>
Cc: 10992-done <at> debbugs.gnu.org
Subject: Re: bug#10992: error signaled for syntax expression
Date: Sun, 11 Mar 2012 13:25:01 -0400
Stefan Israelsson Tampe <stefan.itampe <at> gmail.com> writes:

> Hi,
>
>
> I wanted to enter meta data where the symbols are important into a
> syntax object and tried to be smart
> in doing that but stumbled on this because loading (a simplified
> example) the attached file I get an annoying error e.g.
>
> ERROR: bad src
> $7 = #(a (a b) (a (b c) #f))

Fixed in 30398e94f9cadfaff44117bbff214b0b7ba703ca.

   Thanks!
     Mark




Information forwarded to bug-guile <at> gnu.org:
bug#10992; Package guile. (Sun, 18 Mar 2012 21:43:01 GMT) Full text and rfc822 format available.

Message #13 received at 10992 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Israelsson Tampe <stefan.itampe <at> gmail.com>
To: 10992 <at> debbugs.gnu.org
Subject: patch and fixed test
Date: Sun, 18 Mar 2012 22:11:33 +0100
[Message part 1 (text/plain, inline)]
Racket has two versions of syntax-local-binding, one that does lookup of
syntax parameters and one that don't. So it would be interesting to know
why.

Anyway with this mail, there is a patch that enable syntax-local-value to
lookup syntax-parameters
as well.

Also let's fix the test. With the definitions as in the previous mail use
in stead,

(define-syntax info
  (lambda (x)
    (syntax-case x ()
      ((_ f)
        (let-values (((key ret) (syntax-local-binding #'f)))
          (datum->syntax x (eq? ret %f)))))))

and
(info f)                                                       => #t
(fluid-let-syntax ((f (lambda x #'#t))) (info f))  =>  #f
[Message part 2 (text/html, inline)]
[resolve-identifier.patch (text/x-patch, attachment)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 16 Apr 2012 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 13 years and 64 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.