diff --git a/cmd/tools/vdoc/html.v b/cmd/tools/vdoc/html.v index 83235f52dcf617..93640c94b3415a 100644 --- a/cmd/tools/vdoc/html.v +++ b/cmd/tools/vdoc/html.v @@ -438,8 +438,8 @@ fn html_highlight(code string, tb &ast.Table) string { .key_true, .key_false { tok_typ = .boolean } - .lpar, .lcbr, .rpar, .rcbr, .lsbr, .rsbr, .semicolon, .colon, .comma, .dot, - .dotdot, .ellipsis { + .lpar, .lcbr, .rpar, .rcbr, .lsbr, .rsbr, .semicolon, .colon, .comma, .dot, .dotdot, + .ellipsis { tok_typ = .punctuation } else { @@ -463,7 +463,7 @@ fn html_highlight(code string, tb &ast.Table) string { // expectation: "${a}.${b}${c}" // reality: "${a.${b}${c}" if tok.lit.len != 0 { - write_token(token.Token{kind: .rcbr}, .unone, mut buf) + write_token(token.Token{ kind: .rcbr }, .unone, mut buf) } inside_string_interp = false