File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
src/main/clojure/clojure/tools/namespace Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 161
161
; ;; (io/reader
162
162
; ;; (.getInputStream jarfile (.getEntry jarfile entry-name))))]
163
163
; ;; (ignore-reader-exception
164
- ; ;; (let [[_ nom & more] (parse/read-ns-decl rdr read-opts)]
165
- ; ;; (list* 'ns (with-meta nom
166
- ; ;; {:jar (.getName ^JarFile jarfile) :file entry-name})
167
- ; ;; more)))))))
164
+ ; ;; (let [[_ nom & more :as decl] (parse/read-ns-decl rdr read-opts)]
165
+ ; ;; (when (and decl nom (symbol? nom))
166
+ ; ;; (list* 'ns (with-meta nom
167
+ ; ;; {:jar (.getName ^JarFile jarfile) :file entry-name})
168
+ ; ;; more))))))))
168
169
(defn find-ns-decls-in-jarfile
169
170
" Searches the JAR file for source files containing (ns ...)
170
171
declarations; returns the unevaluated ns declarations.
You can’t perform that action at this time.
0 commit comments