Re: [CM] s7: segfault on infinitely recursive macro

2021-07-19 Thread bil
Thanks! s7.c line 77444 (and 77457 for macro*) needs check_stack_size(sc); before the push_stack. I think this also covers expansions and bacros. ___ Cmdist mailing list Cmdist@ccrma.stanford.edu https://cm-mail.stanford.edu/mailman/listinfo/cmdist

[CM] s7: segfault on infinitely recursive macro

2021-07-18 Thread Elijah Stone
(define-macro (f) (f)) (f) ;segfault (letrec ((f (macro () (f (f)) ;ditto Same thing happens for define-expansion, but not for a regular function. ___ Cmdist mailing list Cmdist@ccrma.stanford.edu