mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
fmt: fix comments.v
This commit is contained in:
parent
820f53caa3
commit
37767cfa8d
2 changed files with 1 additions and 2 deletions
|
@ -52,7 +52,7 @@ pub fn (mut f Fmt) comment(node ast.Comment, options CommentsOptions) {
|
|||
}
|
||||
out_s += s
|
||||
}
|
||||
if !is_separate_line { // && f.indent > 0 {
|
||||
if !is_separate_line && f.indent > 0 {
|
||||
f.remove_new_line() // delete the generated \n
|
||||
f.write(' ')
|
||||
}
|
||||
|
|
|
@ -4,7 +4,6 @@ import strings
|
|||
import time { sleep }
|
||||
|
||||
const alt = '.,-~:;=!*#$@'
|
||||
|
||||
fn rd(cs int, ls int, a f64, b f64) {
|
||||
tt_spacing, p_spacing := 0.07, 0.02
|
||||
r1, r2, k2 := 1, 2, 5
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue