| author | |
| committer | |
| log | 6dd93ee5d986405f521e9b4ed83ef669325f4e08 |
| tree | 58d726042741034cc33ec421666b7518593b4f65 |
| parent | 21328e0036db94c75083ab8e43ff9195000343f0 |
| signature |
2 files changed, 2 insertions(+), 0 deletions(-)
doc/docgen.zig+1| ... | @@ -818,6 +818,7 @@ fn tokenizeAndPrint(allocator: *mem.Allocator, docgen_tokenizer: *Tokenizer, out | ... | @@ -818,6 +818,7 @@ fn tokenizeAndPrint(allocator: *mem.Allocator, docgen_tokenizer: *Tokenizer, out |
| 818 | 818 | ||
| 819 | std.zig.Token.Id.LineComment, | 819 | std.zig.Token.Id.LineComment, |
| 820 | std.zig.Token.Id.DocComment, | 820 | std.zig.Token.Id.DocComment, |
| 821 | std.zig.Token.Id.ShebangLine, | ||
| 821 | => { | 822 | => { |
| 822 | try out.write("<span class=\"tok-comment\">"); | 823 | try out.write("<span class=\"tok-comment\">"); |
| 823 | try writeEscaped(out, src[token.start..token.end]); | 824 | try writeEscaped(out, src[token.start..token.end]); |
std/zig/ast.zig+1| ... | @@ -2208,6 +2208,7 @@ test "iterate" { | ... | @@ -2208,6 +2208,7 @@ test "iterate" { |
| 2208 | .doc_comments = null, | 2208 | .doc_comments = null, |
| 2209 | .decls = Node.Root.DeclList.init(std.debug.global_allocator), | 2209 | .decls = Node.Root.DeclList.init(std.debug.global_allocator), |
| 2210 | .eof_token = 0, | 2210 | .eof_token = 0, |
| 2211 | .shebang = null, | ||
| 2211 | }; | 2212 | }; |
| 2212 | var base = &root.base; | 2213 | var base = &root.base; |
| 2213 | assert(base.iterate(0) == null); | 2214 | assert(base.iterate(0) == null); |