We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a35f92 commit 31d92c2Copy full SHA for 31d92c2
src/rewrite_clj/parser/core.clj
@@ -142,7 +142,8 @@
142
(let [nxt (edn/read reader)]
143
(cond (keyword? nxt) [:token nxt {:namespaced? true}]
144
(symbol? nxt) [:token (keyword nxt)]
145
- :else (throw-reader "Invalid token(s) following ':' prefix: " nxt))))
+ (not (seq? nxt)) [:token (keyword (str nxt))]
146
+ :else (throw-reader reader "Invalid token(s) following ':' prefix: " nxt))))
147
148
;; ## Register Parsers
149
0 commit comments