cgen: fix missing line breaks in generated code with closure IIFE, when compiled with '-g' (fix #20306) (#20316)

This commit is contained in:
shove 2023-12-31 13:04:41 +08:00 committed by GitHub
parent 969402461f
commit cc250baf3c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 5 deletions

View file

@ -16,7 +16,7 @@ import sokol.gfx
import sokol.sgl
import sokol.sapp
import stbi
import szip
import compress.szip
import strings
// Help text
@ -801,10 +801,10 @@ fn main() {
// App init
mut app := &App{
gg: 0
gg: unsafe { nil }
// zip fields
zip: 0
item_list: 0
zip: unsafe { nil }
item_list: unsafe { nil }
}
app.state = .scanning