Skip to content

Commit

Permalink
gxtags: fix use of ##locat-position (#1082)
Browse files Browse the repository at this point in the history
As of

gambit/gambit@556a884
global ##locat-start-position should be used instead of
##locat-position.
  • Loading branch information
leahneukirchen authored Dec 7, 2023
1 parent e687155 commit 15ea5dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/gxtags.ss
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@

(def (source-location-line locat)
(if (##locat? locat)
(let (filepos (##position->filepos (##locat-position locat)))
(let (filepos (##position->filepos (##locat-start-position locat)))
(fx1+ (##filepos-line filepos)))
1))

Expand Down

0 comments on commit 15ea5dc

Please sign in to comment.