mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-03-12 07:50:26 -07:00
cmp: fix inline expansion of princ
Has to return the object to be printed.
This commit is contained in:
parent
7761d0b27a
commit
d7330ae762
1 changed files with 4 additions and 4 deletions
|
|
@ -44,11 +44,11 @@
|
|||
'(:wchar :object) '(:wchar)
|
||||
"ecl_princ_char(#0,#1)" t t))
|
||||
((and foundp (typep value 'base-string) (< (length value) 80))
|
||||
(produce-inline-loc (list stream)
|
||||
'(:object) '(:void)
|
||||
(concatenate 'string "ecl_princ_str("
|
||||
(produce-inline-loc (list expression stream)
|
||||
'(:object :object) '(:object)
|
||||
(concatenate 'string "(ecl_princ_str("
|
||||
(c-inline-safe-string value)
|
||||
",#0)")
|
||||
",#1),#0)")
|
||||
t t))
|
||||
(t
|
||||
(produce-inline-loc (list expression stream)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue