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*)]
|
||||
(if-not qf
|
||||
x
|
||||
(if-not split
|
||||
(qf (name x))
|
||||
(let [parts (string/split (name x) #"\.")]
|
||||
(string/join "." (map qf parts)))))))
|
||||
(let [qf* #(if (= "*" %) % (qf %))]
|
||||
(if-not split
|
||||
(qf* (name x))
|
||||
(let [parts (string/split (name x) #"\.")]
|
||||
(string/join "." (map qf* parts))))))))
|
||||
|
||||
(def infix-fns
|
||||
#{"+" "-" "*" "/" "%" "mod" "|" "&" "^"
|
||||
|
|
|
|||
Loading…
Reference in a new issue