1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

fmt: fix formatting of C.f(/*mut*/buff &char) i64 (#19069)

This commit is contained in:
yuyi 2023-08-07 12:00:35 +08:00 committed by GitHub
parent 23a7c40c44
commit 7c2f3e4530
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,7 @@
module main
fn main() {
println('Hello World!')
}
fn C.f( /* mut */ buff &char) i64

View File

@ -0,0 +1,7 @@
module main
fn main() {
println('Hello World!')
}
fn C.f(/*mut*/buff &char) i64

View File

@ -948,6 +948,7 @@ fn (mut p Parser) fn_params() ([]ast.Param, bool, bool) {
is_mut: is_mut is_mut: is_mut
typ: param_type typ: param_type
type_pos: type_pos type_pos: type_pos
comments: comments
} }
param_no++ param_no++
if param_no > 1024 { if param_no > 1024 {