Skip to content

Commit 31fe06b

Browse files
committed
spelling
1 parent 87479d6 commit 31fe06b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/source_files.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,11 @@ second form, get the line number at the given `byte_index` within `source`.
7070
source_line(x) = source_line(sourcefile(x), first_byte(x))
7171

7272
"""
73-
souce_location(x)
74-
souce_location(source::SourceFile, byte_index::Integer)
73+
source_location(x)
74+
source_location(source::SourceFile, byte_index::Integer)
7575
76-
souce_location(LineNumberNode, x)
77-
souce_location(LineNumberNode, source, byte_index)
76+
source_location(LineNumberNode, x)
77+
source_location(LineNumberNode, source, byte_index)
7878
7979
Get `(line,column)` of the first byte where object `x` appears in the source.
8080
The second form allows one to be more precise with the `byte_index`, given the

0 commit comments

Comments
 (0)