fix config_gen
This commit is contained in:
parent
805e8389cb
commit
3080a5d315
@ -527,6 +527,9 @@ fn collectBuiltinData(allocator: std.mem.Allocator, version: []const u8, langref
|
||||
});
|
||||
} else if (state != .searching and std.mem.eql(u8, tag_name, "code_begin")) {
|
||||
std.debug.assert(tokenizer.next().id == .Separator);
|
||||
std.debug.assert(tokenizer.next().id == .TagContent);
|
||||
switch (tokenizer.next().id) {
|
||||
.Separator => {
|
||||
std.debug.assert(tokenizer.next().id == .TagContent);
|
||||
switch (tokenizer.next().id) {
|
||||
.Separator => {
|
||||
@ -536,6 +539,10 @@ fn collectBuiltinData(allocator: std.mem.Allocator, version: []const u8, langref
|
||||
.BracketClose => {},
|
||||
else => unreachable,
|
||||
}
|
||||
},
|
||||
.BracketClose => {},
|
||||
else => unreachable,
|
||||
}
|
||||
|
||||
while (true) {
|
||||
const content_token = tokenizer.next();
|
||||
@ -865,7 +872,7 @@ const Response = union(enum) {
|
||||
|
||||
fn httpGET(allocator: std.mem.Allocator, uri: std.Uri) !Response {
|
||||
var client = std.http.Client{ .allocator = allocator };
|
||||
defer client.deinit(allocator);
|
||||
defer client.deinit();
|
||||
try client.ca_bundle.rescan(allocator);
|
||||
|
||||
var request = try client.request(uri, .{}, .{});
|
||||
|
Loading…
Reference in New Issue
Block a user