style: Add newline after statements

This commit is contained in:
overflowerror 2024-02-14 10:26:57 +01:00
parent 3cb516b8c0
commit 37d337b99c
2 changed files with 4 additions and 1 deletions

View file

@ -79,6 +79,8 @@ void codegen_statement(FILE* out, band_t* band, struct statement* statement) {
fprintf(stderr, "statement kind: %d\n", statement->kind);
panic("unknown statement kind");
}
// add newline after each statement
fprintf(out, "\n");
}
int codegen(FILE* out, struct program* program) {

View file

@ -1 +1,2 @@
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.