aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuxLang2016-09-29 19:11:45 -0400
committerGitHub2016-09-29 19:11:45 -0400
commit99c874c044ad7a22ababc8d1bc0fa96380fb3620 (patch)
tree12087e4bb9c4012aaa41ac18dc7b95fa8bab624c
parent5f008bcf8dd6ae0fac819c50233ca405ad221a40 (diff)
parent08dc1fdd08d5b92ad058cd6519e00db9fc7c5f57 (diff)
Merge pull request #16 from LuxLang/more_tolerant_class_names
- Fixed a bug that was rejecting class names with underscores and oth…
-rw-r--r--src/lux/type/host.clj2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lux/type/host.clj b/src/lux/type/host.clj
index fe910c76e..75825514e 100644
--- a/src/lux/type/host.clj
+++ b/src/lux/type/host.clj
@@ -65,7 +65,7 @@
(&/fold2 matcher (&/|table) sub-type-params params)))
;; [Exports]
-(let [class-name-re #"((\[+)L([\.a-zA-Z0-9\$]+);|([\.a-zA-Z0-9\$]+)|(\[+)([ZBSIJFDC]))"
+(let [class-name-re #"((\[+)L([^\s]+);|([^\s]+)|(\[+)([ZBSIJFDC]))"
jprim->lprim (fn [prim]
(case prim
"Z" "boolean"