aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTravis <tssund93@gmail.com>2020-10-29 13:59:58 -0500
committerTravis <tssund93@gmail.com>2020-10-29 14:02:08 -0500
commitf54605ecc2c93b98b94c5e9e42aafa9e433006fc (patch)
tree4f3abda7dedc4dd113ff7556c6b66efa9ff7b709 /doc
parenta63fd34c50b032e4ed5136dba8b098f780d5b9f8 (diff)
downloadzig-f54605ecc2c93b98b94c5e9e42aafa9e433006fc.tar.gz
zig-f54605ecc2c93b98b94c5e9e42aafa9e433006fc.zip
add missing Invalid_periodasterisks case in docgen
Diffstat (limited to 'doc')
-rw-r--r--doc/docgen.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/docgen.zig b/doc/docgen.zig
index 6916318eb2..4a69426755 100644
--- a/doc/docgen.zig
+++ b/doc/docgen.zig
@@ -972,7 +972,7 @@ fn tokenizeAndPrintRaw(docgen_tokenizer: *Tokenizer, out: anytype, source_token:
.Tilde,
=> try writeEscaped(out, src[token.loc.start..token.loc.end]),
- .Invalid, .Invalid_ampersands => return parseError(
+ .Invalid, .Invalid_ampersands, .Invalid_periodasterisks => return parseError(
docgen_tokenizer,
source_token,
"syntax error",