 
 (defn decode-reverse
   "Convert a v3 source map JSON object into a nested sorted map 
-   organized as file, line, and column. Not this source map
+   organized as file, line, and column. Note this source map
    maps from *original* source location to generated source location."
   ([source-map]
      (decode-reverse (:mappings source-map) source-map))

                         [result relseg]))))]
             (recur (inc gline) (next lines) (assoc relseg 0 0) result))
           result)))))

;; -----------------------------------------------------------------------------
;; Encoding

      nseg)))

(defn update-reverse-result
  "Helper for decode-reverse. Take a source map and update it
  based on a segment map."
  [result segmap gline]
  (let [{:keys [gcol source line col name]} segmap
        d {:gline gline
