Commits

Meikel Brandmeyer  committed 0247e6b

Fix check for EOF in incomplete expression

  • Participants
  • Parent commits 685b831

Comments (0)

Files changed (1)

File server/src/main/clojure/vimclojure/nails.clj

               (recur (read *in* false eof)))))
         (catch clojure.lang.LispReader$ReaderException exc
           (let [e (.getCause exc)]
-            (if (= "EOF while reading" (.getMessage e))
+            (if (.startsWith (.getMessage e) "EOF while reading")
               false
               (throw exc))))))))