mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 20:00:19 +02:00
Compile string constants
This commit is contained in:
parent
86fabef4ca
commit
a4003003e2
3 changed files with 12 additions and 0 deletions
|
@ -112,5 +112,10 @@
|
|||
(make-call
|
||||
(make-refine *scheme* (make-const "list"))
|
||||
(map compile-const c)))
|
||||
((string? c)
|
||||
(make-new
|
||||
(make-call
|
||||
(make-refine *scheme* (make-const "String"))
|
||||
(list (make-const c)))))
|
||||
(else
|
||||
(throw 'uncompilable-const c))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue