aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIsaac Freund <ifreund@ifreund.xyz>2021-02-19 22:54:47 +0100
committerIsaac Freund <ifreund@ifreund.xyz>2021-02-19 22:59:27 +0100
commit95b95ea33e4b595d2fc6fbea850694b79f27fe55 (patch)
tree7f22d836466700d51acaaf1a943dcdf8dd25f256 /src
parent6f6568b1fdb30fc8574b3047470510b798307717 (diff)
downloadzig-95b95ea33e4b595d2fc6fbea850694b79f27fe55.tar.gz
zig-95b95ea33e4b595d2fc6fbea850694b79f27fe55.zip
stage2: make same line doc comments a parse error
Allowing same line doc comments causes some ambiguity as to how generated docs should represent the case in which both same line and preceding line doc comments are present: /// preceding line const foobar = 42; /// same line Furthermore disallowing these makes things simpler as there is now only one way to add a doc comment to a decl or struct field.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions