mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-08 02:05:54 +02:00
location: Start column numbers at 1.
* guix/utils.scm (source-properties->location): Use COL + 1.
This commit is contained in:
+2
-1
@@ -662,4 +662,5 @@ etc."
|
||||
(let ((file (assq-ref loc 'filename))
|
||||
(line (assq-ref loc 'line))
|
||||
(col (assq-ref loc 'column)))
|
||||
(location file (and line (+ line 1)) col)))
|
||||
;; In accordance with the GCS, start line and column numbers at 1.
|
||||
(location file (and line (+ line 1)) (and col (+ col 1)))))
|
||||
|
||||
Reference in New Issue
Block a user