LOC-IMMEDIATE-VALUE-P did not return the appropriate value for character locations

This commit is contained in:
Juan Jose Garcia Ripoll 2011-12-01 22:56:23 +01:00
parent c724eacb24
commit e2fbe37fcd

View file

@ -113,9 +113,11 @@
((atom loc)
(values nil nil))
((member (first loc)
'(fixnum-value character-value long-float-value
'(fixnum-value long-float-value
double-float-value single-float-value))
(values t (second loc)))
((eq (first loc) 'character-value)
(values t (code-char (second loc))))
(t
(values nil nil))))