add missing Invalid_periodasterisks case in docgen

This commit is contained in:
Travis 2020-10-29 13:59:58 -05:00
parent a63fd34c50
commit f54605ecc2

View File

@ -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",