diff options
author | Eduardo Julian | 2019-04-04 20:40:50 -0400 |
---|---|---|
committer | Eduardo Julian | 2019-04-04 20:40:50 -0400 |
commit | 2914f38f7c3795a63f555409361bc1b317e871a9 (patch) | |
tree | 3ffe997617388f4abfb52558ab48102b9fafc2e6 /stdlib/source/lux/tool | |
parent | cc16e4ba982a9a2b228c7b40d927f539c9e1a5c8 (diff) |
Forgot "lux text char".
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/lux/tool/compiler/default/syntax.lux | 2 | ||||
-rw-r--r-- | stdlib/source/lux/tool/compiler/name.lux | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/source/lux/tool/compiler/default/syntax.lux b/stdlib/source/lux/tool/compiler/default/syntax.lux index 8be32d7f2..512c19246 100644 --- a/stdlib/source/lux/tool/compiler/default/syntax.lux +++ b/stdlib/source/lux/tool/compiler/default/syntax.lux @@ -155,7 +155,7 @@ (template: (!with-char+ @source-code-size @source-code @offset @char @else @body) (if (!i/< (:coerce Int @source-code-size) (:coerce Int @offset)) - (let [@char ("lux text char" @source-code @offset)] + (let [@char ("lux text char" @offset @source-code)] @body) @else)) diff --git a/stdlib/source/lux/tool/compiler/name.lux b/stdlib/source/lux/tool/compiler/name.lux index f65113d38..d2841d849 100644 --- a/stdlib/source/lux/tool/compiler/name.lux +++ b/stdlib/source/lux/tool/compiler/name.lux @@ -40,7 +40,7 @@ output ""] (if (n/< name/size idx) (recur (inc idx) - (|> ("lux text char" name idx) !sanitize (format output))) + (|> name ("lux text char" idx) !sanitize (format output))) output)))) (def: #export (definition [module short]) |