| author | |
| committer | |
| log | d23ccdb8d9e4d3510667164545f9c3be3374d529 |
| tree | 144a609e1a4f7c0febdab1b1ed09bd9534e35b4b |
| parent | 462f751902baefb68ff6f372263ed3b1637690d5 |
2 files changed, 9 insertions(+), 1 deletions(-)
lib/docs/main.js+6| ... | ... | @@ -1259,6 +1259,12 @@ var zigAnalysis; |
| 1259 | 1259 | case "int": { |
| 1260 | 1260 | return "" + expr.int; |
| 1261 | 1261 | } |
| 1262 | case "float": { | |
| 1263 | return "" + expr.float.toFixed(2); | |
| 1264 | } | |
| 1265 | case "undefined": { | |
| 1266 | return "undefined"; | |
| 1267 | } | |
| 1262 | 1268 | case "string": { |
| 1263 | 1269 | return "\"" + escapeHtml(expr.string) + "\""; |
| 1264 | 1270 | } |
src/Autodoc.zig+3-1| ... | ... | @@ -3423,7 +3423,9 @@ fn tryResolveRefPath( |
| 3423 | 3423 | "failed to match `{s}` in struct", |
| 3424 | 3424 | .{child_string}, |
| 3425 | 3425 | ); |
| 3426 | path[i + 1] = (try self.cteTodo("match failure")).expr; | |
| 3426 | // path[i + 1] = (try self.cteTodo("match failure")).expr; | |
| 3427 | // this are working, check c.zig | |
| 3428 | path[i + 1] = (try self.cteTodo(child_string)).expr; | |
| 3427 | 3429 | continue :outer; |
| 3428 | 3430 | }, |
| 3429 | 3431 | }, |