fix off-by-one syntax checking bug in internal-defn splicing 'begin'
svn: r9314
This commit is contained in:
parent
3ada2cc296
commit
a7c9444f72
|
@ -4439,7 +4439,7 @@ Scheme_Object *scheme_compile_sequence(Scheme_Object *forms,
|
|||
|
||||
if (SAME_OBJ(val, scheme_begin_syntax) && SCHEME_STX_PAIRP(first)) {
|
||||
/* Flatten begin: */
|
||||
if (scheme_stx_proper_list_length(first) > 0) {
|
||||
if (scheme_stx_proper_list_length(first) > 1) {
|
||||
Scheme_Object *rest;
|
||||
rest = scheme_flatten_begin(first, scheme_null);
|
||||
first = scheme_datum_to_syntax(rest, first, first, 0, 2);
|
||||
|
|
Loading…
Reference in New Issue
Block a user