Skip to content

Commit 2e10085

Browse files
Format the generated code for GO TO statements slightly (#752)
1 parent 97ec3c5 commit 2e10085

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cobj/codegen.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3211,7 +3211,8 @@ static void joutput_goto_1(cb_tree x) {
32113211
joutput_prefix();
32123212
joutput("if(true) return Optional.of(contList[");
32133213
joutput_label_variable(CB_LABEL(cb_ref(x)));
3214-
joutput_line("]);\n");
3214+
joutput("]);");
3215+
joutput_newline();
32153216
}
32163217

32173218
static void joutput_goto(struct cb_goto *p) {

0 commit comments

Comments
 (0)