Neil Jerram writes: > "Bill Schottstaedt" writes: > >> static SCM g_skip_block_comment(SCM ch, SCM port) > [...] >> Then call scm_read_hash_extend with "|" to activate it. > > How do you wrap g_skip_block_comment to get a suitable argument for > scm_read_hash_extend () ? I had a go using scm_c_make_subr (). But with the attached program and test input (and current Git HEAD) I can't reproduce the seg fault that you described. Can you spot some way in which what you are doing is different to this? Regards, Neil