special case identifier quoting for *
This commit is contained in:
parent
3b07644b8a
commit
9d46b48366
1 changed files with 5 additions and 4 deletions
|
|
@ -42,10 +42,11 @@
|
||||||
*quote-identifier-fn*)]
|
*quote-identifier-fn*)]
|
||||||
(if-not qf
|
(if-not qf
|
||||||
x
|
x
|
||||||
(if-not split
|
(let [qf* #(if (= "*" %) % (qf %))]
|
||||||
(qf (name x))
|
(if-not split
|
||||||
(let [parts (string/split (name x) #"\.")]
|
(qf* (name x))
|
||||||
(string/join "." (map qf parts)))))))
|
(let [parts (string/split (name x) #"\.")]
|
||||||
|
(string/join "." (map qf* parts))))))))
|
||||||
|
|
||||||
(def infix-fns
|
(def infix-fns
|
||||||
#{"+" "-" "*" "/" "%" "mod" "|" "&" "^"
|
#{"+" "-" "*" "/" "%" "mod" "|" "&" "^"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue