Skip to content

Commit 9d2dada

Browse files
committed
update CSTParser
1 parent 3d0a97a commit 9d2dada

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Manifest.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
uuid = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"
55

66
[[CSTParser]]
7-
deps = ["Test", "Tokenize"]
8-
git-tree-sha1 = "c815c88aa4b83fa485b1e87564f45d0ed9b043b5"
7+
deps = ["LibGit2", "Test", "Tokenize"]
8+
git-tree-sha1 = "437c93bc191cd55957b3f8dee7794b6131997c56"
99
uuid = "00ebfdb7-1f24-5e51-bd34-a7502290713f"
10-
version = "0.4.1"
10+
version = "0.5.2"
1111

1212
[[Compat]]
1313
deps = ["Base64", "Dates", "DelimitedFiles", "Distributed", "InteractiveUtils", "LibGit2", "Libdl", "LinearAlgebra", "Markdown", "Mmap", "Pkg", "Printf", "REPL", "Random", "Serialization", "SharedArrays", "Sockets", "SparseArrays", "Statistics", "Test", "UUIDs", "Unicode"]

src/patch/location.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function charrange(ex::AbstractEXPR, l::Location)
2727
ex = ex[i]
2828
end
2929
full = o .+ (1:ex.fullspan)
30-
inner = o .+ ex.span
30+
inner = o .+ (1:ex.span)
3131
return full, inner
3232
end
3333

0 commit comments

Comments
 (0)