Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
felipensp committed Dec 13, 2024
1 parent 67dfd9a commit 9116790
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vlib/v/gen/c/fn.v
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@ fn (mut g Gen) gen_anon_fn_decl(mut node ast.AnonFn) {
}
node.has_gen[fn_name] = true
mut builder := strings.new_builder(256)
builder.writeln('/*F1*/')
// builder.writeln('/*F1*/')
// Generate a closure struct
if node.inherited_vars.len > 0 {
ctx_struct := g.closure_ctx(node.decl)
Expand All @@ -701,9 +701,9 @@ fn (mut g Gen) gen_anon_fn_decl(mut node ast.AnonFn) {
g.anon_fn = true
g.fn_decl(node.decl)
g.anon_fn = was_anon_fn
builder.write_string('/*LOL*/')
// builder.write_string('/*LOL*/')
builder.write_string(g.out.cut_to(pos))
builder.writeln('/*F2*/')
// builder.writeln('/*F2*/')
g.anon_fn_definitions << builder.str()
}

Expand Down

0 comments on commit 9116790

Please sign in to comment.