Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
felipensp committed Feb 17, 2024
1 parent 23fe665 commit 0e88693
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/c2v.v
Original file line number Diff line number Diff line change
Expand Up @@ -1099,6 +1099,7 @@ fn (mut c C2V) case_st(mut child Node, is_enum bool) bool {
}
vprintln('A TYP=${a.ast_type}')
if a.kindof(.compound_stmt) {
c.genln('{')
c.genln('// case comp stmt')
c.statements(mut a)
} else if a.kindof(.case_stmt) {
Expand Down

0 comments on commit 0e88693

Please sign in to comment.