define-syntax is now capable of takeing a synclo object at the position

of the syntax name
This commit is contained in:
Yuichi Nishiwaki 2013-12-09 09:26:28 -08:00
parent d871c6f06c
commit 725297384a
1 changed files with 1 additions and 1 deletions

View File

@ -336,7 +336,7 @@ macroexpand(pic_state *pic, pic_value expr, struct pic_senv *senv)
pic_error(pic, "syntax error");
}
var = pic_cadr(pic, expr);
var = strip(pic, pic_cadr(pic, expr));
if (! pic_symbol_p(var)) {
pic_error(pic, "syntax error");
}