eraserhd / parinfer-rust

A Rust port of parinfer.
ISC License
546 stars 42 forks source link

Parinfer-rust does not work with files which contains comments ending with double quote #138

Closed liquidz closed 1 year ago

liquidz commented 1 year ago

As title says.

How to reproduce

(defn dummy []
  ;; a comment ending with double quote"
  (+ 1 2))
TimoKramer commented 1 year ago

https://github.com/eraserhd/parinfer-rust/issues/106

liquidz commented 1 year ago

Ah, thanks for your pointing! https://github.com/parinfer/parinfer.js/blob/master/doc/code.md#dangerous-quotes