mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
vdoc: add -comments and new comment merger (#11221)
This commit is contained in:
16
cmd/tools/vdoc/tests/testdata/multiline/main.v
vendored
Normal file
16
cmd/tools/vdoc/tests/testdata/multiline/main.v
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
// normal comment
|
||||
pub fn a1() {
|
||||
println('hi')
|
||||
}
|
||||
|
||||
// this should be merged
|
||||
// into the same line
|
||||
pub fn a2() {
|
||||
println('hi')
|
||||
}
|
||||
|
||||
// This should be its own parapgraph, because it ends with a dot.
|
||||
// This should be another paragraph.
|
||||
pub fn a3() {
|
||||
println('hi')
|
||||
}
|
||||
Reference in New Issue
Block a user