Abdulaziz Ghuloum
acbd00c356
fixed a bug in expanding macros in definition context where the
...
scope would get messed up when the macro call appears inside
let/letrec-syntax. Basically, in the following example,
(let-syntax ([id-macro (syntax-rules () [(_ x) x])])
(let ()
(define (foo) (display "not ok\n"))
(let-syntax ([foo (syntax-rules () [(_) (display "ok\n")])])
(id-macro (foo)))))
the call to (id-macro) would make (foo) refer to the foo in the
internal-definition context (the not ok one) instead of the
let-syntax one.
On the plus side, macro expansion is now half a second faster!
2009-07-06 12:14:08 +03:00
..
2009-06-30 03:51:01 +03:00
2009-01-05 06:21:02 +03:00
2009-01-09 11:40:55 +03:00
2009-07-06 12:14:08 +03:00
2009-07-06 12:14:08 +03:00
2008-12-23 20:44:47 -05:00
2008-12-08 02:13:40 -05:00
2009-05-11 01:35:38 +03:00
2009-05-30 10:46:45 +03:00
2009-07-06 12:07:18 +03:00
2009-05-21 18:43:28 +03:00
2009-07-06 12:07:18 +03:00
2009-05-30 10:46:45 +03:00
2008-12-27 00:36:13 -05:00
2009-06-26 11:33:32 +03:00
2008-11-14 02:15:12 -05:00
2009-01-03 19:57:19 -05:00
2009-05-30 08:14:09 +03:00
2008-12-25 21:00:14 -05:00
2008-12-05 01:48:49 -05:00
2009-04-11 21:39:53 +03:00
2009-05-30 08:14:09 +03:00
2009-06-30 03:51:01 +03:00
2008-12-23 20:41:12 -05:00
2009-05-31 13:32:33 +03:00
2009-06-02 01:12:07 +03:00
2009-01-09 11:40:55 +03:00
2009-06-30 07:27:26 +03:00
2009-05-21 11:47:24 +03:00
2009-05-26 13:39:32 +03:00
2008-11-11 00:39:02 -05:00
2008-10-16 02:43:03 -04:00
2008-10-16 02:43:03 -04:00
2008-11-01 16:19:35 -04:00
2009-06-26 10:07:26 +03:00
2008-10-15 07:44:06 -04:00
2009-05-11 01:35:38 +03:00
2009-04-27 09:59:23 +03:00
2009-06-26 13:01:48 +03:00
2008-10-15 07:44:06 -04:00
2009-01-09 11:40:55 +03:00
2008-12-06 12:40:18 -05:00
2008-10-19 23:10:34 -04:00
2009-05-30 10:46:45 +03:00
2009-05-11 01:35:38 +03:00
2009-07-06 12:14:08 +03:00
2009-07-04 19:47:15 +03:00
2009-07-04 19:47:15 +03:00
2009-07-06 12:07:18 +03:00
2009-05-30 13:34:18 +03:00
2009-05-30 10:46:45 +03:00
2009-05-14 09:52:05 +03:00
2009-05-28 09:02:47 +03:00
2009-07-06 12:14:08 +03:00
2009-05-28 09:02:47 +03:00
2008-12-10 03:18:33 -05:00
2008-10-29 03:15:17 -04:00