aboutsummaryrefslogtreecommitdiff
path: root/luxc
diff options
context:
space:
mode:
authorEduardo Julian2019-03-06 21:18:25 -0400
committerEduardo Julian2019-03-06 21:18:25 -0400
commit88131ea520f1b2749c239227463d521930c08d0a (patch)
tree142a0a32715f73bfc01dde98619230ea1e7a4715 /luxc
parentc1160c68a9a9d3f1243a69d585a06bf1808ef32e (diff)
Removed the "translation/common" hierarchy.
Diffstat (limited to '')
-rw-r--r--luxc/src/lux/analyser/module.clj2
-rw-r--r--luxc/src/lux/compiler/jvm/proc/common.clj10
2 files changed, 6 insertions, 6 deletions
diff --git a/luxc/src/lux/analyser/module.clj b/luxc/src/lux/analyser/module.clj
index 5d72d5e87..70e463432 100644
--- a/luxc/src/lux/analyser/module.clj
+++ b/luxc/src/lux/analyser/module.clj
@@ -273,7 +273,7 @@
(return* state (&/T [(&/T [module name]) $def]))
_
- ((&/fail-with-loc (str "[Analyser Error @ find-def] Cannot use unexported definition: " (str module &/+name-separator+ name)
+ ((&/fail-with-loc (str "[Analyser Error @ find-def] Cannot use private definition: " (str module &/+name-separator+ name)
" at module: " current-module))
state))))
((&/fail-with-loc (str "[Analyser Error @ find-def] Definition does not exist: " (str module &/+name-separator+ name)
diff --git a/luxc/src/lux/compiler/jvm/proc/common.clj b/luxc/src/lux/compiler/jvm/proc/common.clj
index 5cff63d86..96b2dcc31 100644
--- a/luxc/src/lux/compiler/jvm/proc/common.clj
+++ b/luxc/src/lux/compiler/jvm/proc/common.clj
@@ -452,12 +452,12 @@
"int"
(case proc
- "*" (compile-int-mul compile ?values special-args)
- "/" (compile-int-div compile ?values special-args)
- "%" (compile-int-rem compile ?values special-args)
- "<" (compile-int-lt compile ?values special-args)
+ "*" (compile-int-mul compile ?values special-args)
+ "/" (compile-int-div compile ?values special-args)
+ "%" (compile-int-rem compile ?values special-args)
+ "<" (compile-int-lt compile ?values special-args)
"frac" (compile-int-frac compile ?values special-args)
- "char" (compile-int-char compile ?values special-args)
+ "char" (compile-int-char compile ?values special-args)
)
"frac"