I corrected the bug. Just had to put the vector case in strip location. Here is the patch<br><br><div class="gmail_quote">On Thu, Jul 16, 2009 at 1:40 PM, Jeremie Lasalle Ratelle <span dir="ltr"><<a href="mailto:pouexmachinax@gmail.com">pouexmachinax@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I implemented vector pattern matching in termite some time ago. I'm<br>trying to port my code in the black hole version of termite but there is<br>
a problem with vectors in macro code.<br><br>Here is an example <br><br>
(define-syntax macro-test<br>  (sc-macro-transformer<br>   (lambda (form env)<br>     (pp form)<br>     `(begin))))<br><br>> (macro-test '(1 2 3))<br>(macro-test '(1 2 3))<br><br>> (macro-test #(1 2 3))      <br>

(macro-test #(#(#(source1) 1 (console) 917509) #(#(source1) 2 (console) 1048581) #(#(source1) 3 (console) 1179653)))<br>
</blockquote></div><br>