diff --git a/std/zig/ast.zig b/std/zig/ast.zig index 2102da456c7a..e2ac5f6341da 100644 --- a/std/zig/ast.zig +++ b/std/zig/ast.zig @@ -45,6 +45,7 @@ pub const Tree = struct { line_end: usize, }; + /// Return the Location of the token relative to the offset specified by `start_index`. pub fn tokenLocationPtr(self: *Tree, start_index: usize, token: *const Token) Location { var loc = Location{ .line = 0,