mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 11:50:28 +02:00
Compile string constants
This commit is contained in:
parent
86fabef4ca
commit
a4003003e2
3 changed files with 12 additions and 0 deletions
|
@ -167,6 +167,9 @@
|
|||
|
||||
(define (print-const c port)
|
||||
(cond ((string? c)
|
||||
;; FIXME:
|
||||
;; Scheme strings and JS Strings are different, and not just in
|
||||
;; terms of mutability
|
||||
(write c port))
|
||||
((number? c)
|
||||
(write c port))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue