mirror of
https://github.com/ziglang/zig.git
synced 2024-11-27 07:32:44 +00:00
add missing Invalid_periodasterisks case in docgen
This commit is contained in:
parent
a63fd34c50
commit
f54605ecc2
@ -972,7 +972,7 @@ fn tokenizeAndPrintRaw(docgen_tokenizer: *Tokenizer, out: anytype, source_token:
|
|||||||
.Tilde,
|
.Tilde,
|
||||||
=> try writeEscaped(out, src[token.loc.start..token.loc.end]),
|
=> try writeEscaped(out, src[token.loc.start..token.loc.end]),
|
||||||
|
|
||||||
.Invalid, .Invalid_ampersands => return parseError(
|
.Invalid, .Invalid_ampersands, .Invalid_periodasterisks => return parseError(
|
||||||
docgen_tokenizer,
|
docgen_tokenizer,
|
||||||
source_token,
|
source_token,
|
||||||
"syntax error",
|
"syntax error",
|
||||||
|
Loading…
Reference in New Issue
Block a user