Guile Mailing List Archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: eval-ing records



Maciej Stachowiak <mstachow@mit.edu> writes:

> The interpreter segfaults on attempts to eval a record

1998-11-21  Mikael Djurfeldt  <mdj@kenneth>

	* eval.c (SCM_CEVAL): Allow structs implanted in code.
	Previously, structs implanted in code were interpreted as forms
	the operator of which was a gloc.  We solve this by checking for
	the zero in the emulated vcell in the struct vtable.  Since
	implanted structs always will look like forms with a gloc
	operator, execution will only be slowed down by maximally one
	extra test-and-branch per application.

Guile Home | Main Index | Thread Index