Commit d23ccdb8d9
Changed files (2)
lib
docs
src
lib/docs/main.js
@@ -1259,6 +1259,12 @@ var zigAnalysis;
case "int": {
return "" + expr.int;
}
+ case "float": {
+ return "" + expr.float.toFixed(2);
+ }
+ case "undefined": {
+ return "undefined";
+ }
case "string": {
return "\"" + escapeHtml(expr.string) + "\"";
}
src/Autodoc.zig
@@ -3423,7 +3423,9 @@ fn tryResolveRefPath(
"failed to match `{s}` in struct",
.{child_string},
);
- path[i + 1] = (try self.cteTodo("match failure")).expr;
+ // path[i + 1] = (try self.cteTodo("match failure")).expr;
+ // this are working, check c.zig
+ path[i + 1] = (try self.cteTodo(child_string)).expr;
continue :outer;
},
},