mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
vdoc: fix panic on empty // comment on v doc -f html file.v; turn expected code block after empty example to a warning
This commit is contained in:
9
cmd/tools/vdoc/tests/testdata/basic/main.v
vendored
9
cmd/tools/vdoc/tests/testdata/basic/main.v
vendored
@@ -1,5 +1,12 @@
|
||||
pub const (
|
||||
source_root = 'temp'
|
||||
source_root = 'temp' // some const
|
||||
another = int(5) //
|
||||
)
|
||||
|
||||
// Used to indicate that you don't care what the window position is.
|
||||
pub const (
|
||||
windowpos_undefined_mask = C.SDL_WINDOWPOS_UNDEFINED_MASK // 0x1FFF0000u
|
||||
windowpos_undefined = C.SDL_WINDOWPOS_UNDEFINED //
|
||||
)
|
||||
|
||||
// funky - comment for function below
|
||||
|
||||
Reference in New Issue
Block a user