diff options
author | Eduardo Julian | 2017-02-22 17:52:39 -0400 |
---|---|---|
committer | Eduardo Julian | 2017-02-22 17:52:39 -0400 |
commit | efe1e3a69663b06daeb6ba63d3d823500417b73f (patch) | |
tree | 651fb62b01b2584b8fab14a50f1475e4724cf3d7 /luxc | |
parent | 69c8192026f8cb28daa1d179a0a4c3cd2f3a0e6b (diff) |
- Fixed a bug in the way characters where getting compiled to JS.
Diffstat (limited to '')
-rw-r--r-- | luxc/src/lux/compiler/js/lux.clj | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/luxc/src/lux/compiler/js/lux.clj b/luxc/src/lux/compiler/js/lux.clj index 5103b2d2b..4e7ddd8fd 100644 --- a/luxc/src/lux/compiler/js/lux.clj +++ b/luxc/src/lux/compiler/js/lux.clj @@ -46,7 +46,7 @@ (return (str value))) (defn compile-char [value] - (return (str "{C:\"" value "\"}"))) + (return (str "{C:" (pr-str (str value)) "}"))) (defn compile-text [?value] (return (pr-str ?value))) |