fix: bitrot building with -Duse_tree_sitter=false

This commit is contained in:
CJ van den Berg 2025-11-06 14:12:36 +01:00
parent 1624276f9c
commit 6cedbcb362
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9

View file

@ -87,6 +87,7 @@ pub const Tree = struct {
pub fn edit(_: *Tree, _: *const InputEdit) void {} pub fn edit(_: *Tree, _: *const InputEdit) void {}
}; };
pub const Node = struct { pub const Node = struct {
tree: ?*Tree = null,
var dummy: @This() = .{}; var dummy: @This() = .{};
pub fn getRange(_: *const @This()) Range { pub fn getRange(_: *const @This()) Range {
return .{}; return .{};