On Sat, Jul 20, 2019 at 10:49 PM Andy Moreton wrote: > > (defun ccl-fixnum (code) > > "Convert a CCL code word to a fixnum value." > > - (- (logxor (logand code #x0fffffff) #x08000000) #x08000000)) > > + (if (integerp code) > > + (- (logxor (logand code #x0fffffff) #x08000000) #x08000000) > > + code)) > > `ccl-fixnum' should only receive integer arguments, so perhaps this fix > should go in the call in `ccl-embed-data' instead: > > (aset ccl-program-vector ccl-current-ic > (if (numberp data) (ccl-fixnum data) data)) Agreed, revised patch attached. Note that the test leaks entries in translation-hash-table-vector, but I think it's cleaner to start with a new symbol each time we run the test.